spake2: Implementation of the SPAKE2 Password-Authenticated Key Exchange algorithm

[ crypto, library, program ] [ Propose Tags ]

This library implements the SPAKE2 password-authenticated key exchange (PAKE) algorithm. This allows two parties, who share a weak password, to safely derive a strong shared secret (and therefore build an encrypted+authenticated channel).

Versions [faq] 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2
Change log
Dependencies base (>=4.9 && <5), bytestring, cryptonite, memory, optparse-applicative, protolude (>=0.2), spake2 [details]
License LicenseRef-Apache
Maintainer Jonathan M. Lange <>
Category Crypto
Home page
Bug tracker
Source repo head: git clone
Uploaded by jml at Wed Nov 15 07:15:50 UTC 2017
Distributions NixOS:0.4.2
Executables haskell-spake2-interop-entrypoint
Downloads 1433 total (105 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-11-15 [all 3 reports]


  • Crypto
    • Crypto.Spake2
      • Crypto.Spake2.Group
      • Crypto.Spake2.Groups
        • Crypto.Spake2.Groups.Ed25519
        • Crypto.Spake2.Groups.IntegerGroup
      • Crypto.Spake2.Math
      • Crypto.Spake2.Util


Maintainer's Corner

For package maintainers and hackage trustees