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 output
  • key : KMAC key
  • bytes : bytes to hash