HsOpenSSL-0.10.1.2: (Incomplete) OpenSSL binding for Haskell

OpenSSL.EVP.Open

Description

Asymmetric cipher decryption using encrypted symmetric key. This is an opposite of OpenSSL.EVP.Seal.

Synopsis

Documentation

openSource

Arguments

:: KeyPair key 
=> Cipher

symmetric cipher algorithm to use

-> String

encrypted symmetric key to decrypt the input string

-> String

IV

-> key

private key to decrypt the symmetric key

-> String

input string to decrypt

-> String

decrypted string

open lazilly decrypts a stream of data. The input string doesn't necessarily have to be finite.

openBSSource

Arguments

:: KeyPair key 
=> Cipher

symmetric cipher algorithm to use

-> String

encrypted symmetric key to decrypt the input string

-> String

IV

-> key

private key to decrypt the symmetric key

-> ByteString

input string to decrypt

-> ByteString

decrypted string

openBS decrypts a chunk of data.

openLBSSource

Arguments

:: KeyPair key 
=> Cipher

symmetric cipher algorithm to use

-> String

encrypted symmetric key to decrypt the input string

-> String

IV

-> key

private key to decrypt the symmetric key

-> ByteString

input string to decrypt

-> ByteString

decrypted string

openLBS lazilly decrypts a stream of data. The input string doesn't necessarily have to be finite.