bitcoin-hash-0.1: Bitcoin hash primitives

Safe HaskellNone
LanguageHaskell2010

Bitcoin.Hash

Contents

Description

Custom cryptographic hash constructions used by Bitcoin.

Synopsis

Bitcoin constructions

check32 Source #

Arguments

:: ByteString

Data to hash.

-> ByteString

32-bit long digest.

hash160 Source #

Arguments

:: ByteString

Data to hash.

-> ByteString

160-bit long digest.

hash256 Source #

Arguments

:: ByteString

Data to hash.

-> ByteString

256-bit long digest.