darcs-2.12.5: a distributed, interactive, smart revision control system

Copyright | 2001 2004 Ian Lynagh <igloo@earth.li>
License | GPL
Maintainer | darcs-devel@darcs.net
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010

Darcs.Util.Crypt.SHA1

Description

# Documentation

sha1PS :: ByteString -> SHA1 #

data SHA1 #

Constructors

SHA1 !Word32 !Word32 !Word32 !Word32 !Word32 |

Instances

Eq SHA1 # |
Methods (==) :: SHA1 -> SHA1 -> Bool # (/=) :: SHA1 -> SHA1 -> Bool #
Ord SHA1 # |
Methods compare :: SHA1 -> SHA1 -> Ordering # (<) :: SHA1 -> SHA1 -> Bool # (<=) :: SHA1 -> SHA1 -> Bool # (>) :: SHA1 -> SHA1 -> Bool # (>=) :: SHA1 -> SHA1 -> Bool # max :: SHA1 -> SHA1 -> SHA1 # min :: SHA1 -> SHA1 -> SHA1 #
Show SHA1 # |
Methods showsPrec :: Int -> SHA1 -> ShowS # show :: SHA1 -> String # showList :: [SHA1] -> ShowS #
Binary SHA1 # |
Methods put :: SHA1 -> Put # get :: Get SHA1 # putList :: [SHA1] -> Put #

showAsHex :: Word32 -> String #

sha1Xor :: SHA1 -> SHA1 -> SHA1 #

zero :: SHA1 #