The xsha1 package

[ Tags: cryptography, library, mit ] [ Propose Tags ]

Caution: XSHA1 is weak, and should not be used as a hash.

XSHA1 is used in password and CD key authentication in older Blizzard games (Starcraft, Diablo 2) among other things. The fact that it's cryptographically weak has been known for years: this is a public analysis of the weakness. The goal is to determine risk posed to users, and find safeguards if possible.

The code is geared for rapid interactive development with GHCI. Excuse the lax conventions.

Data.Digest.* implements and explores XSHA1, while Data.Codec.* contains applications.


Versions 0.0.0
Dependencies base (==4.*), HUnit, QuickCheck, uniplate, vector [details]
License MIT
Author Alex Kropivny <>
Maintainer Alex Kropivny <>
Category Cryptography
Uploaded Thu Mar 15 05:10:20 UTC 2012 by AlexKropivny
Distributions NixOS:0.0.0
Downloads 516 total (8 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees