ExCEP.Crypto.SM3 (ex_cep v0.1.1)

Copy Markdown

Pure Elixir implementation of the Chinese national cryptographic hash function SM3 (GB/T 32905-2016).

Produces a 256-bit (32-byte) digest, used as the hash primitive for ExCEP.Crypto.SM2.

Summary

Functions

Computes the 32-byte SM3 digest of data.

Functions

hash(data)

@spec hash(iodata()) :: <<_::256>>

Computes the 32-byte SM3 digest of data.