feat: re-export winter-crypto Hasher, Digest & ElementHasher

This commit introduces the re-export of the listed primitives.

They will be used inside Miden to report the security level of the
picked primitive, as well as other functionality.

closes #72
This commit is contained in:
Victor Lopez
2023-02-22 11:12:17 +01:00
parent e94b0c70a9
commit 35b255b5eb
6 changed files with 15 additions and 5 deletions

View File

@@ -88,6 +88,7 @@ const INV_ALPHA: u64 = 10540996611094048183;
/// to deserialize them into field elements and then hash them using
/// [hash_elements()](Rpo256::hash_elements) function rather then hashing the serialized bytes
/// using [hash()](Rpo256::hash) function.
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub struct Rpo256();
impl Hasher for Rpo256 {