Blake2.Blake2s (blake2_elixir v0.9.0)
View SourceModule to hash input using the Blake2s version of Blake2.
Blake2s is optimized for 8- to 32-bit platforms and produces digests of any size between 1 and 32 bytes.
The hash
function produces a digest in binary form, as
bytes. The hash_hex
function outputs the digest in hexadecimal
format.
The hash_nif
function calls the native code. It is unlikely that
you will need to call this function directly.