HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleHsOpenSSL-0.11.7.10Haskell2010

OpenSSL.EVP.Open

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

  • 3 values
  • PackageHsOpenSSL-0.11.7.10
  • Exports3
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceOpen.hs
valueopen
  1. :: KeyPair key
  2. => Cipher

    symmetric cipher algorithm to use

  3. -> String

    encrypted symmetric key to decrypt the input string

  4. -> String

    IV

  5. -> key

    private key to decrypt the symmetric key

  6. -> String

    input string to decrypt

  7. -> String

    decrypted string

#

Deprecated. Use openBS or openLBS instead.

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

valueopenLBS
  1. :: KeyPair key
  2. => Cipher

    symmetric cipher algorithm to use

  3. -> ByteString

    encrypted symmetric key to decrypt the input string

  4. -> ByteString

    IV

  5. -> key

    private key to decrypt the symmetric key

  6. -> ByteString

    input string to decrypt

  7. -> ByteString

    decrypted string

#

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