AsconHash256

Type Alias AsconHash256 

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

Ascon-Hash256

use ascon_hash::{AsconHash256, Digest};

let mut hasher = AsconHash256::new();
hasher.update(b"some bytes");
let digest = hasher.finalize();
assert_eq!(&digest[..], b"\xe9\x09\xc2\xf6\xda\x9c\xb3\x02\x84\x23\x26\x5c\x8f\x23\xfc\x2d\x26\xbf\xc0\xf3\xdb\x70\x46\x83\xef\x16\xb7\x87\xa9\x45\xed\x68");

Aliased Typeยง

pub struct AsconHash256 { /* private fields */ }