HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

ModuleHsOpenSSL-0.11.7.11Haskell2010

OpenSSL.EVP.Sign

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

Synopsis
  • PackageHsOpenSSL-0.11.7.11
  • 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.