| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OpenSSL.EVP.Open
Description
Asymmetric cipher decryption using encrypted symmetric key. This is an opposite of OpenSSL.EVP.Seal.
- open :: KeyPair key => Cipher -> String -> String -> key -> String -> String
- openBS :: KeyPair key => Cipher -> ByteString -> ByteString -> key -> ByteString -> ByteString
- openLBS :: KeyPair key => Cipher -> ByteString -> ByteString -> key -> ByteString -> ByteString
Documentation
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 |
Deprecated: Use openBS or openLBS instead.
lazilly decrypts a stream of data. The input string
doesn't necessarily have to be finite.open
Arguments
| :: KeyPair key | |
| => Cipher | symmetric cipher algorithm to use |
| -> ByteString | encrypted symmetric key to decrypt the input string |
| -> ByteString | IV |
| -> key | private key to decrypt the symmetric key |
| -> ByteString | input string to decrypt |
| -> ByteString | decrypted string |
decrypts a chunk of data.openBS
Arguments
| :: KeyPair key | |
| => Cipher | symmetric cipher algorithm to use |
| -> ByteString | encrypted symmetric key to decrypt the input string |
| -> ByteString | IV |
| -> key | private key to decrypt the symmetric key |
| -> ByteString | input string to decrypt |
| -> ByteString | decrypted string |
lazilly decrypts a stream of data. The input string
doesn't necessarily have to be finite.openLBS