Blake2.hash2s

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

hash2s(m, output_size \\ 32, secret_key \\ "")

View Source

Specs

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

Blake2s hashing

Note that the output_size is in bytes, not bits

  • 32 => Blake2s-256 (default)
  • 24 => Blake2b-192
  • 16 => Blake2b-128

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