hopenssl-1.7: FFI bindings to OpenSSL's EVP digest interface

Copyright(c) 2010 by Peter Simons
LicenseBSD3
Maintainersimons@cryp.to
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

OpenSSL.Digest.ByteString.Lazy

Description

Wrappers for OpenSSL.Digest that supports lazy ByteString.

Synopsis

Documentation

digest :: MessageDigest -> ByteString -> IO [Word8] Source

A convenience wrapper which computes the given digest type of a ByteString. Unlike the monadic interface, this function does not allow the computation to be restarted.

update :: ByteString -> Digest Int Source

Update the internal state with a block of data.