blake2_elixir v0.8.1 Blake2.Blake2sp View Source

Module to hash input using the Blake2sp version of Blake2.

Blake2sp 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.

Link to this section Summary

Link to this section Functions

Link to this function

hash(input, key, outlen \\ 32, salt \\ "", personal \\ "") View Source

Main hash function - output in bytes.

Link to this function

hash_hex(input, key, outlen \\ 32, salt \\ "", personal \\ "") View Source

Main hash function - output in hexadecimal format.

Link to this function

hash_nif(input, key, outlen, salt, personal) View Source