Blake2.hash2b

You're seeing just the function hash2b, go back to Blake2 module for more information.
Link to this function

hash2b(m, output_size \\ 64, secret_key \\ "")

View Source

Specs

hash2b(binary(), pos_integer(), binary()) :: binary() | :error

Blake2b hashing

Note that the output_size is in bytes, not bits

  • 64 => Blake2b-512 (default)
  • 48 => Blake2b-384
  • 32 => Blake2b-256

Per the specification, any output_size between 1 and 64 bytes is supported.