Struct crypto::blake2s::Blake2s[][src]

pub struct Blake2s { /* fields omitted */ }

Methods

impl Blake2s
[src]

Trait Implementations

impl Copy for Blake2s
[src]

impl Clone for Blake2s
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Digest for Blake2s
[src]

Reset the digest. This method must be called after result() and before supplying more data. Read more

Provide message data. Read more

Retrieve the digest result. This method may be called multiple times. Read more

Get the output size in bits.

Get the block size in bytes.

Get the output size in bytes.

Convenience function that feeds a string into a digest. Read more

Convenience function that retrieves the result of a digest as a String in hexadecimal format. Read more

impl Mac for Blake2s
[src]

Process input data.

Arguments

  • data - The input data to process.

Reset the Mac state to begin processing another input stream.

Obtain the result of a Mac computation as a MacResult.

Obtain the result of a Mac computation as [u8]. This method should be used very carefully since incorrect use of the Mac code could result in permitting a timing attack which defeats the security provided by a Mac function.

Get the size of the Mac code, in bytes.

Auto Trait Implementations

impl Send for Blake2s

impl Sync for Blake2s