value
sign 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.
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
ModuleHsOpenSSL-0.11.7.11Haskell2010
Message signing using asymmetric cipher and message digest algorithm. This is an opposite of OpenSSL.EVP.Verify.
sign 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.
signBS :: KeyPair key=> Digestmessage digest algorithm to use
-> keyprivate key to sign the message digest
-> ByteStringinput string
-> IO ByteStringthe result signature
signBS generates a signature from a chunk of data.
signLBS :: KeyPair key=> Digestmessage digest algorithm to use
-> keyprivate key to sign the message digest
-> ByteStringinput string
-> IO ByteStringthe result signature
signLBS generates a signature from a stream of data.