HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleHsOpenSSL-0.11.7.10Haskell2010

OpenSSL.EVP.Sign

Message signing using asymmetric cipher and message digest algorithm. This is an opposite of OpenSSL.EVP.Verify.

  • 3 values
  • PackageHsOpenSSL-0.11.7.10
  • Exports3
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceSign.hs
valuesign
  1. :: KeyPair key
  2. => Digest

    message digest algorithm to use

  3. -> key

    private key to sign the message digest

  4. -> String

    input string

  5. -> IO String

    the result signature

#

Deprecated. Use signBS or signLBS instead.

sign generates a signature from a stream of data. The string must not contain any letters which aren't in the range of U+0000 - U+00FF.