Multiformats.Multihash.SHA256Trunc254Padded (multiformats v0.1.0)

The "sha2-256-trunc254-padded" multihash algorithm is a variant of SHA-256 that replaces the most significant 2 bits of the last byte with zeroes.

Summary

Functions

Decodes binary data using the default set of options.

Not implemented.

Decodes binary data using the default set of options, raising an error if the decoding fails.

Not implemented.

Encodes binary data using the default set of options.

Functions

decode(data)

Decodes binary data using the default set of options.

decode(data, opts)

Not implemented.

decode!(data)

Decodes binary data using the default set of options, raising an error if the decoding fails.

decode!(data, opts)

Not implemented.

encode(data)

Encodes binary data using the default set of options.