HsOpenSSL-0.3: (Part of) OpenSSL binding for HaskellContentsIndex
OpenSSL.EVP.Open
Description
Asymmetric cipher decryption using encrypted symmetric key. This is an opposite of OpenSSL.EVP.Seal.
Synopsis
open :: Cipher -> String -> String -> PKey -> String -> String
openBS :: Cipher -> String -> String -> PKey -> ByteString -> ByteString
openLBS :: Cipher -> String -> String -> PKey -> LazyByteString -> LazyByteString
Documentation
open
:: Ciphersymmetric cipher algorithm to use
-> Stringencrypted symmetric key to decrypt the input string
-> StringIV
-> PKeyprivate key to decrypt the symmetric key
-> Stringinput string to decrypt
-> Stringdecrypted string
open lazilly decrypts a stream of data. The input string doesn't necessarily have to be finite.
openBS
:: Ciphersymmetric cipher algorithm to use
-> Stringencrypted symmetric key to decrypt the input string
-> StringIV
-> PKeyprivate key to decrypt the symmetric key
-> ByteStringinput string to decrypt
-> ByteStringdecrypted string
openBS decrypts a chunk of data.
openLBS
:: Ciphersymmetric cipher algorithm to use
-> Stringencrypted symmetric key to decrypt the input string
-> StringIV
-> PKeyprivate key to decrypt the symmetric key
-> LazyByteStringinput string to decrypt
-> LazyByteStringdecrypted string
openLBS lazilly decrypts a stream of data. The input string doesn't necessarily have to be finite.
Produced by Haddock version 0.8