crypto-srp

SRP authentication primitives

Stackage Nightly 2026-07-08:0.1.0.1
Latest on Hackage:0.1.0.1

See all snapshots crypto-srp appears in

BSD-3-Clause licensed by Tim Emiola
Maintained by [email protected]
This version can be pinned in stack with:crypto-srp-0.1.0.1@sha256:162f37f5a45932f7d41925015529261dff14a63412e7d7727b81738f7c1d9ce3,2792

crypto-srp

crypto-srp provides primitives for the Secure Remote Password (SRP) protocol.

It includes:

  • Crypto.SRP — core SRP computation: public key exchange, premaster secret derivation, client/server proof generation and verification
  • Crypto.SRP.Constants — standard large prime groups (1024–8192 bits) from RFC 5054 Appendix A
  • Crypto.SRP.Hashing — hash algorithm abstraction (SHA1, SHA256, SHA384, SHA512) used throughout the SRP calculation
  • Crypto.SRP.PrimeGroup — prime group representation and byte-string encoding
  • Crypto.SRP.Random — cryptographically random private key generation

Changes

Revision history for crypto-srp

crypto-srp uses PVP Versioning.

0.1.0.1 – 2026-07-05

  • Relax the upper bounds Quickcheck.

0.1.0.0 – 2026-07-05

  • First version.