About

Metadata

  • Last updated , by adetokunbo
  • License BSD-3-Clause
  • Categories Cryptography
  • Maintained by: adetokunbo@emio.la

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.4.8
  2. 9.2.8
  3. 9.0.2
  4. 8.10.7

Package Flags

Use the -f option with cabal commands to enable flags

    pysrp (off by default)

    Enable pysrp compatibility tests (requires Python 3 with srp package)

Readme

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