View Source YAMFhash (YAMFhash v1.0.1)

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

Summary

Functions

Hash data by format id.

Verify hash by format id.

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.