View Source YAMFhash (YAMFhash v0.1.0)

Yet-Another-Multi-Format - Hash Pure Elixir implementation

Link to this section Summary

Functions

Hash data by format id.

Verify hash by format id.

Link to this section Functions

Specs

create(binary(), non_neg_integer()) :: binary() | :error

Hash data by format id.

Only id 0 (Blake2b-512) is implemented at this time

Specs

verify(binary(), binary()) :: binary() | :error

Verify hash by format id.

Only id 0 (Blake2b-512) is implemented at this time

Returns any trailing data on success.