Class suitable for typical cryptographic PKI key pair type.
Associated types
Methods
generate :: IO aGenerate new secure (random) key pair.
from_seed :: ByteArrayAccess ba => ba -> Either String aGenerate new key pair from the provided
seed.from_phrase :: Text -> Maybe Text -> Either String aGenerate key pair from given recovery phrase and password.
public :: a -> PublicKey aGet a public key.
sign :: ByteArrayAccess ba => a -> ba -> Signature aSign a message.