bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 986 forks source link

Implement SRP per RFC 5054. #413

Open Marandil opened 4 years ago

Marandil commented 4 years ago

Currently sjcl only implements a stub of the SRP protocol. This PR fully implements SRP as defined in RFC 5054.

Test vectors and cases are extended to include all values from RFC 5054. Added test case for randomly generated exponents.