botan-rs icon indicating copy to clipboard operation
botan-rs copied to clipboard

Add examples to showcase how the KMAC256 algorithm is used.

Open alexanderkjall opened this issue 1 year ago • 1 comments

This is an companion PR to https://github.com/randombit/botan/pull/3570

Values are taken from https://asecuritysite.com/hash/cs2

alexanderkjall avatar Jun 23 '23 07:06 alexanderkjall

Fine generally, but these will fail on any version that doesn't have KMAC support, so I think you'll need to use if let Ok(mac) = ...

randombit avatar Jul 01 '23 13:07 randombit