Open timmc opened 10 months ago
The GenericHash interface defines BLAKE2B_BYTES_MIN = 16 but from experimentation, the library is happy to produce outputs as low as 1 byte.
BLAKE2B_BYTES_MIN = 16
https://github.com/terl/lazysodium-java/blob/64dc78554f45eb9b81e74354d61eba4e3da2452b/src/main/java/com/goterl/lazysodium/interfaces/GenericHash.java#L20
The GenericHash interface defines
BLAKE2B_BYTES_MIN = 16
but from experimentation, the library is happy to produce outputs as low as 1 byte.https://github.com/terl/lazysodium-java/blob/64dc78554f45eb9b81e74354d61eba4e3da2452b/src/main/java/com/goterl/lazysodium/interfaces/GenericHash.java#L20