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

Safe Haskell | None
Language | Haskell2010

Codec.Encryption.OpenPGP.CFB

# Documentation

decrypt :: SymmetricAlgorithm -> ByteString -> ByteString -> Either String ByteString Source #

decryptPreservingNonce :: SymmetricAlgorithm -> ByteString -> ByteString -> Either String (ByteString, ByteString) Source #

decryptNoNonce :: SymmetricAlgorithm -> IV -> ByteString -> ByteString -> Either String ByteString Source #

decryptOpenPGPCfb :: SymmetricAlgorithm -> ByteString -> ByteString -> Either String ByteString Source #

encryptNoNonce :: SymmetricAlgorithm -> S2K -> IV -> ByteString -> ByteString -> Either String ByteString Source #