HsOpenSSL-0.5.2: (Part of) OpenSSL binding for HaskellSource codeContentsIndex
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 -> ByteString -> ByteString
Documentation
openSource
:: 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.
openBSSource
:: 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.
openLBSSource
:: 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
openLBS lazilly decrypts a stream of data. The input string doesn't necessarily have to be finite.
Produced by Haddock version 2.4.2