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

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to

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 IntSource

Update the internal state with a block of data.