hOpenPGP-0.10: native Haskell implementation of OpenPGP (RFC4880)

Safe HaskellNone

Codec.Encryption.OpenPGP.SecretKey

Synopsis

Documentation

encryptPrivateKey :: ByteString -> IV -> SKAddendum -> ByteString -> SKAddendumSource

8-octet salt, IV must be length of cipher blocksize

encryptPrivateKeyIO :: SKAddendum -> ByteString -> IO SKAddendumSource

generates pseudo-random salt and IV