Safe Haskell | None |
---|
- decryptPrivateKey :: (PKPayload, SKAddendum) -> ByteString -> SKAddendum
- encryptPrivateKey :: ByteString -> IV -> SKAddendum -> ByteString -> SKAddendum
- encryptPrivateKeyIO :: SKAddendum -> ByteString -> IO SKAddendum
- reencryptSecretKeyIO :: SecretKey -> ByteString -> IO SecretKey
Documentation
decryptPrivateKey :: (PKPayload, SKAddendum) -> ByteString -> SKAddendumSource
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
reencryptSecretKeyIO :: SecretKey -> ByteString -> IO SecretKeySource