Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SafeSigner = SafeSigner !SigningKey !PassPhrase
- noPassSafeSigner ∷ SigningKey → SafeSigner
- safeToVerification ∷ SafeSigner → VerificationKey
- newtype PassPhrase = PassPhrase ScrubbedBytes
- emptyPassphrase ∷ PassPhrase
- passphraseLength ∷ Int
- safeDeterministicKeyGen ∷ ByteString → PassPhrase → (VerificationKey, SigningKey)
- safeKeyGen ∷ MonadRandom m ⇒ PassPhrase → m (VerificationKey, SigningKey)
Documentation
data SafeSigner Source #
SafeSigner datatype to encapsulate sensitive data
Instances
Show SafeSigner Source # | |
Defined in Cardano.Crypto.Signing.Safe.SafeSigner |
newtype PassPhrase Source #
Instances
emptyPassphrase ∷ PassPhrase Source #
Empty passphrase used in development
safeKeyGen ∷ MonadRandom m ⇒ PassPhrase → m (VerificationKey, SigningKey) Source #