HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.