Guomi (guomi v0.4.2)

Copy Markdown View Source

Guomi algorithms facade.

Summary

Functions

Returns the algorithms exposed by this package.

Returns runtime support for each algorithm.

Types

algorithm()

@type algorithm() :: :sm2 | :sm3 | :sm4

Functions

algorithms()

@spec algorithms() :: [algorithm()]

Returns the algorithms exposed by this package.

supported()

@spec supported() :: %{required(algorithm()) => boolean()}

Returns runtime support for each algorithm.

Support depends on the Erlang/OTP :crypto module and the OpenSSL version used to build the current runtime.