Encryption of content message

The content message m is encrypted using JWE (JSON Web Encryption), resulting in the following flatten structure:

The "ciphertext" property is calculated by symmetrically encrypting m with the content key CEK. CEK is a unique key, which is then encrypted using PKB and stored as the "encrypted_key" property. Only those with access to the corresponding SKB can decrypt the "encrypted_key" and subsequently decrypt the "ciphertext" to reveal the original message m.

The "protected" property contains an encoded JSON structure specifying the encryption algorithms used:

Last updated