cardano-crypto-wrapper-1.5.1.2: Cryptographic primitives used in Byron era of the Cardano project
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Crypto.Signing.Redeem.KeyGen

Synopsis

Documentation

redeemKeyGenMonadRandom 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.

redeemDeterministicKeyGenByteStringMaybe (RedeemVerificationKey, RedeemSigningKey) Source #

Create key pair deterministically from 32 bytes