Struct tomcrypt::EaxState [] [src]

pub struct EaxState(_);

Authenticated encryption mode.

Methods

impl EaxState
[src]

[src]

Create a new eax mode state from a key and a nonce.

The header parameter optionally contains (public) data, that will influence the generated authentication tag (also called mac).

[src]

Encrypts the given data in place.

[src]

Decrypts the given data in place.

[src]

Generate the authentication tag (mac) with the given length.

Trait Implementations

impl Clone for EaxState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more