Cryptographic Message Syntax (CMS) with JavaScriptThis page uses PKIJS encrypting on CMS. With CMS we can This document describes the Cryptographic Message Syntax (CMS). With this we can encapsulate an message within an encrypted entity.
|
Outline
If we use a message of "hello" and a password of "password", we get:
-----BEGIN CMS----- MIHyBgkqhkiG9w0BBwOggeQwgeECAQIxgZKjgY8CAQCgYQYJKoZIhvcNAQUMMFQE QA0ly8EKugpkJFEP0FUOWdskekh+rwha65CWiYdRSQ9Y8KsKkm/msn43/ncvyIpg vIFwm+CPg427pxfJjUUhgVECAggAMAwGCCqGSIb3DQILBQAwDQYJYIZIAWUDBAEt BQAEGLUTpNyL+3aH5MS94p3ge1OdRDRkbDJKozCABgkqhkiG9w0BBwEwHQYJYIZI AWUDBAEGBBAlEtCcR1DFS0ZKwDQFHqrMoIAEFQaQ52iFEmZscGtPpuY1vhUHvDQp dQAAAAA= -----END CMS-----
and which is decoded as:
hello