Exmbus.Parser.Ell.Encrypted (Exmbus v0.3.0)

View Source

Represents an encrypted ELL layer.

Summary

Functions

decrypts the context data according to the ELL layer.

Encrypt the binary data according to the ELL layer encryption.

decrypts the context data according to the ELL layer.

Functions

decrypt_bin(ctx)

decrypts the context data according to the ELL layer.

This function will decrypt the encrypted bytes according to the ELL encryption mode.

encrypt_bin(ctx)

Encrypt the binary data according to the ELL layer encryption.

Mostly useful for re-keying an ELL.

Will use the first key found in the key list if multiple keys are returned.

maybe_decrypt_bin(ctx)

decrypts the context data according to the ELL layer.

This function will decrypt the encrypted bytes according to the ELL encryption mode. If the ell is not set, or is none, this function will return {:next, ctx}.