keccak: haskell keccak functions

[ crypto, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

pure haskell implementation of keccak hash functions for use with ghc or ghcjs


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0
Dependencies base (>=4.7 && <5), bytestring [details]
License MIT
Copyright 2018 Roy Blankman
Author Roy Blankman
Maintainer riblankman@gmail.com
Category Crypto
Home page https://github.com/aupiff/keccak#readme
Source repo head: git clone https://github.com/hasketh/keccak
Uploaded by aupiff at 2018-05-16T01:59:32Z
Distributions
Downloads 2653 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-16 [all 1 reports]

Readme for keccak-0.1.0

[back to package description]

keccak

TravisCI

A pure haskell implementation of keccak.

Example usage

ghci> :t keccak256
keccak256 :: BS.ByteString -> BS.ByteString

ghci> BS16.encode $ keccak256 "testing"
"5f16f4c7f149ac4f9510d9cf8cf384038ad348b3bcdc01915f95de12df9d1b02"

ghci> BS16.encode $ keccak256 ""
"c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"

Testing

stack test

Benchmarks

TODO

References

Official Keccak Refeerence

Specification summary

SHA-3 and The Hash Function Keccak (textbook chapter)