Open phayes opened 5 years ago
Right now we use u8 for the IV.
u8
It would be nice to make this generic over u8, u16, u32, u64, u128, and if std is enabled, BigUint as well.
u16
u32
u64
u128
std
BigUint
This will require either Const Generics, or using the GenericArray crate to go from any integer to an array of [u8; N] to append to the inner hash.
[u8; N]
Right now we use
u8
for the IV.It would be nice to make this generic over
u8
,u16
,u32
,u64
,u128
, and ifstd
is enabled,BigUint
as well.This will require either Const Generics, or using the GenericArray crate to go from any integer to an array of
[u8; N]
to append to the inner hash.