Type Alias AsconHash

Source
pub type AsconHash = CoreWrapper<AsconCore>;
Expand description

Ascon hash

use ascon_hash::{AsconHash, Digest};

let mut hasher = AsconHash::new();
hasher.update(b"some bytes");
let digest = hasher.finalize();
assert_eq!(&digest[..], b"\xb7\x42\xca\x75\xe5\x70\x38\x75\x70\x59\xcc\xcc\x68\x74\x71\x4f\x9d\xbd\x7f\xc5\x92\x4a\x7d\xf4\xe3\x16\x59\x4f\xd1\x42\x6c\xa8");

Aliased Typeยง

struct AsconHash { /* private fields */ }