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.Digest

An interface to message digest algorithms.

  • 1 type
  • 8 values
  • PackageHsOpenSSL-0.11.7.10
  • Exports9
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceDigest.hsc
newtypenewtype Digest
#

Digest is an opaque object that represents an algorithm of message digest.

valuedigest :: Digest -> String -> String
#

Deprecated. Use digestBS or digestLBS instead.

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

valuehmacBS
  1. :: Digest

    the hash function to use in the HMAC calculation

  2. -> ByteString

    the HMAC key

  3. -> ByteString

    the data to be signed

  4. -> ByteString

    resulting HMAC

#

Perform a private key signing using the HMAC template with a given hash