Struct strobe_rs::Strobe[][src]

pub struct Strobe { /* fields omitted */ }

The main Strobe object. This is currently limited to using Keccak-f[1600] as the internal permutation function. For more information on this object, the protocol specification is a great resource.

Methods

impl Strobe
[src]

Makes a new Strobe object with a given protocol byte string and security parameter.

Returns a string of the form Strobe-Keccak-<sec>/<b>v<ver> where sec is the bits of security (128 or 256), b is the block size (in bits) of the Keccak permutation function, and ver is the protocol version.

Trait Implementations

impl Clone for Strobe
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Strobe

impl Sync for Strobe