open Deprecated. Use openBS or openLBS instead.
open lazilly decrypts a stream of data. The input string
doesn't necessarily have to be finite.
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11
ModuleHsOpenSSL-0.11.7.11Haskell2010
Asymmetric cipher decryption using encrypted symmetric key. This is an opposite of OpenSSL.EVP.Seal.
open Deprecated. Use openBS or openLBS instead.
open lazilly decrypts a stream of data. The input string
doesn't necessarily have to be finite.
openBS :: KeyPair key=> Ciphersymmetric cipher algorithm to use
-> ByteStringencrypted symmetric key to decrypt the input string
-> ByteStringIV
-> keyprivate key to decrypt the symmetric key
-> ByteStringinput string to decrypt
-> ByteStringdecrypted string
openBS decrypts a chunk of data.
openLBS :: KeyPair key=> Ciphersymmetric cipher algorithm to use
-> ByteStringencrypted symmetric key to decrypt the input string
-> ByteStringIV
-> keyprivate 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.