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

Cardano.Crypto.Signing.KeyGen

Synopsis

Documentation

keyGenMonadRandom m ⇒ m (VerificationKey, SigningKey) 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.

deterministicKeyGenByteString → (VerificationKey, SigningKey) Source #

Create key pair deterministically from 32 bytes.