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 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
ModuleHsOpenSSL-0.11.7.10Haskell2010
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.