Signature

interface Signature

Implements the Ed25519 signature scheme

See also

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun generateKey(seed: ByteArray): Ed25519Keypair

Returns a new signing key pair generated deterministically from a seed

Link copied to clipboard
abstract fun isOnCurve(publicKey: ByteArray): Boolean

Returns whether the given publicKey falls in the Ed25519 elliptic curve

Link copied to clipboard
abstract fun sign(message: ByteArray, secretKey: ByteArray): ByteArray

Signs the message using the secret key and returns a signed message