| Crates.io | srp6 |
| lib.rs | srp6 |
| version | 1.0.0-beta.1 |
| created_at | 2021-07-01 19:21:03.755285+00 |
| updated_at | 2025-03-31 20:35:34.420984+00 |
| description | A safe implementation of the secure remote password authentication and key-exchange protocol - SRP version 6 and 6a |
| homepage | |
| repository | |
| max_upload_size | |
| id | 417556 |
| size | 100,007 |
A safe implementation of the secure remote password authentication and key-exchange protocol (SRP version 6a).
The Secure Remote Password protocol performs secure remote authentication of short human-memorizable passwords and resists both passive and active network attacks. Because SRP offers this unique combination of password security, user convenience, and freedom from restrictive licenses, it is the most widely standardized protocol of its type, and as a result is being used by organizations both large and small, commercial and open-source, to secure nearly every type of human-authenticated network traffic on a variety of computing platforms.
read more at srp.stanford.edu and in RFC2945 that describes in detail the Secure remote password protocol.
default - uses hash-sha512 and keys >= 2048 bitdangerous - uses hash-sha1 and provides keys < 2048 bit, please do not use this in production code.wow - uses hash-sha1, insecure keys and a uppercase of username and password for the hash, please do not use this in production code. This is used in an old World of Warcraft client.Those flags are only used for specific test scenarios and should not be used in production code.
test-rfc-5054-appendix-bTo avoid code duplications this README is kept lean, please find examples and code at: