dcrypt.crypto.ecc.ed25519

Undocumented in source.

Members

Functions

secret_to_public
ubyte[32] secret_to_public(ubyte[] sk)

Generate public key from secret key.

sign
ubyte[64] sign(ubyte[] m, ubyte[] sk, ubyte[] publicKey)

Sign a message with your secret key.

verify
bool verify(ubyte[] signature, ubyte[] m, ubyte[] pk)

Verify a signature sig of message m with public key pk.

Meta