Safe Haskell | None |
---|---|
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
safeDeterministicKeyGen :: ByteString -> PassPhrase -> ( VerificationKey , SigningKey ) Source #
safeKeyGen :: MonadRandom m => PassPhrase -> m ( VerificationKey , SigningKey ) Source #