# `ExCEP.Crypto.SM3`

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`.

# `hash`

```elixir
@spec hash(iodata()) :: &lt;&lt;_::256&gt;&gt;
```

Computes the 32-byte SM3 digest of `data`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
