View Source YAMFhash (YAMFhash v1.0.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

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

Hash data by format id.

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

@spec 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.