Struct blake2_rfc::blake2s::Blake2sResult
[−]
[src]
pub struct Blake2sResult { // some fields omitted }
Container for a hash result.
This container uses a constant-time comparison for equality.
If a constant-time comparison is not necessary, the hash
result can be extracted with the as_bytes
method.
Methods
impl Blake2sResult
fn as_bytes(&self) -> &[u8]
Returns the contained hash result as a byte string.
fn len(&self) -> usize
Returns the length of the hash result.
This is the same value that was used to create the hash context.