Guomi.SM3 (guomi v0.5.0)

Copy Markdown View Source

Pure Elixir SM3 cryptographic hash implementation.

SM3 is a Chinese national standard hash function (GM/T 0004-2012) producing 256-bit digests. This is a pure Elixir implementation with no external dependencies.

Summary

Types

input()

@type input() :: binary() | iodata()

Functions

hash(data)

@spec hash(input()) :: binary()

hash_hex(data)

@spec hash_hex(input()) :: String.t()

supported?()

@spec supported?() :: boolean()