View Source ExOqs.Liboqs.Sign (ExOqs v0.1.0)

Module namespaced the liboqs SIG API

Summary

Functions

@spec generate_keypair(atom()) :: {:ok, {binary(), binary()}}

Generate keypair of given SIG algorithm

Example

iex> ExOqs.Liboqs.Sign.generate_keypair(:Dilithium2) {:ok, {<<2,3,4,..>>, <<20,41,24,211,..>>}}

Link to this function

sign(algo, privKey, data)

View Source
@spec supported_algo() :: [atom()]
Link to this function

verify(signature, algo, pubKey, data)

View Source