Macro cosmian_findex::kmac
source · macro_rules! kmac { ($length: ident, $key: expr, $($bytes: expr),+) => { ... }; }
Expand description
Hashes the given bytes to the desired length using the KMAC algorithm and the given key.
length
: length of the generated outputkey
: KMAC keybytes
: bytes to hash