Struct message_verifier::AesHmacEncryptor [] [src]

pub struct AesHmacEncryptor { /* fields omitted */ }

AesHmacEncryptor struct; similiar to ActiveSupport::MessageEncryptor

Methods

impl AesHmacEncryptor
[src]

Create a new AesHmacEncryptor object

Set the cipher using the KeySize enum

Trait Implementations

impl Encryptor for AesHmacEncryptor
[src]

Decrypt and verify a message generated by a compatible Encryptor. The message must first be verified before decryption is attempted.

Encrypt and sign a message from the input message. This message can be consumed by a compatible Encryptor