./wip/hs-cryptohash, Collection of crypto hashes, fast, pure and practical

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.9.0, Package name: hs-cryptohash-0.9.0, Maintainer: szptvlfn

A collection of crypto hashes, with a practical incremental and one-pass,
pure APIs, with performance close to the fastest implementations available
in others languages.

The implementations are made in C with a haskell FFI wrapper that hide the
C implementation.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f56dc0fc3cb40aafa111bee23a424148491bef7e
RMD160: 737b54599f847a521d890e1f60355101651ff0e5
Filesize: 63.477 KB

Version history: (Expand)


CVS history: (Expand)


   2014-08-29 16:09:59 by Ryosuke Moro | Files touched by this commit (104)
Log message:
make it clear what package depend on

discussed with wiz@.
   2014-05-05 02:03:01 by Ryosuke Moro | Files touched by this commit (74) | Package updated
Log message:
Update MAINTAINER address
   2013-04-21 11:30:24 by Ryosuke Moro | Files touched by this commit (5) | Package updated
Log message:
A collection of crypto hashes, with a practical incremental and one-pass,
pure APIs, with performance close to the fastest implementations available
in others languages.

The implementations are made in C with a haskell FFI wrapper that hide the
C implementation.

Simple examples using the unified API:
 import Crypto.Hash

 sha1 :: ByteString -> Digest SHA1
 sha1 = hash

 hexSha3_512 :: ByteString -> String
 hexSha3_512 bs = show (hash bs :: Digest SHA3_512)

Simple examples using the module API:
 import qualified Crypto.Hash.SHA1 as SHA1

 main = putStrLn $ show $ SHA1.hash (Data.ByteString.pack [1..256])

 import qualified Crypto.Hash.SHA3 as SHA3

 main = putStrLn $ show $ digest
   where digest = SHA3.finalize ctx
         ctx    = foldl' SHA3.update iCtx (map Data.ByteString.pack [ [1,2,3], \ 
[4,5,6] ]
         iCtx   = SHA3.init 224