bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)
Bitcoin.Crypto.Hash.SHA256
Description
SHA256 hash: wrapper around Aaron D. Gifford's C implementation.
newtype SHA256 Source #
Constructors
Fields
Instances
Methods
(==) :: SHA256 -> SHA256 -> Bool #
(/=) :: SHA256 -> SHA256 -> Bool #
compare :: SHA256 -> SHA256 -> Ordering #
(<) :: SHA256 -> SHA256 -> Bool #
(<=) :: SHA256 -> SHA256 -> Bool #
(>) :: SHA256 -> SHA256 -> Bool #
(>=) :: SHA256 -> SHA256 -> Bool #
max :: SHA256 -> SHA256 -> SHA256 #
min :: SHA256 -> SHA256 -> SHA256 #
showsPrec :: Int -> SHA256 -> ShowS #
show :: SHA256 -> String #
showList :: [SHA256] -> ShowS #
toByteString :: SHA256 -> ByteString Source #
toWord8List :: SHA256 -> [Word8] Source #
unsafeToCharList :: SHA256 -> [Char] Source #
toIntegerLE :: SHA256 -> Integer Source #
toIntegerBE :: SHA256 -> Integer Source #
fromByteString :: ByteString -> SHA256 Source #
fromWord8List :: [Word8] -> SHA256 Source #
fromCharList :: [Char] -> SHA256 Source #
fromIntegerLE :: Integer -> SHA256 Source #
fromIntegerBE :: Integer -> SHA256 Source #
sha256 :: OctetStream a => a -> SHA256 Source #