Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
redeemKeyGen ∷ MonadRandom m ⇒ m (RedeemVerificationKey, RedeemSigningKey) Source #
Generate a key pair. It's recommended to run it with runSecureRandom
from
Cardano.Crypto.Random because the OpenSSL generator is probably safer
than the default IO generator.
redeemDeterministicKeyGen ∷ ByteString → Maybe (RedeemVerificationKey, RedeemSigningKey) Source #
Create key pair deterministically from 32 bytes