HsOpenSSL-0.2: (Part of) OpenSSL binding for HaskellContentsIndex
OpenSSL.EVP.Digest
Description
An interface to message digest algorithms.
Synopsis
data Digest
getDigestByName :: String -> IO (Maybe Digest)
getDigestNames :: IO [String]
digest :: Digest -> String -> String
digestBS :: Digest -> ByteString -> String
digestLBS :: Digest -> LazyByteString -> String
Documentation
data Digest
Digest is an opaque object that represents an algorithm of message digest.
getDigestByName :: String -> IO (Maybe Digest)
getDigestByName name returns a message digest algorithm whose name is name. If no algorithms are found, the result is Nothing.
getDigestNames :: IO [String]
getDigestNames returns a list of name of message digest algorithms.
digest :: Digest -> String -> String
digest digests a stream of data. The string must not contain any letters which aren't in the range of U+0000 - U+00FF.
digestBS :: Digest -> ByteString -> String
digestBS digests a chunk of data.
digestLBS :: Digest -> LazyByteString -> String
digestLBS digests a stream of data.
Produced by Haddock version 0.8