Skip to content

Commit

Permalink
Update proof of shared secret section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Oct 31, 2024
1 parent c79330c commit 4218fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ The library is compliant with RFC5054 and should work with any server implementi
- Python library [srptools](https://github.com/idlesign/srptools)
- Typescript library [tssrp6a](https://github.com/midonet/tssrp6a)

## Proof of secret
## Proof of shared secret

For generating the proof above I use the method detailed in [RFC2945](https://tools.ietf.org/html/rfc2945#section-3) but not all servers use this method. For this reason I have kept the sharedSecret generation separate from the proof generation, so you can insert your own version.
For generating the client and server proofs of the shared secret I use the method detailed in [RFC2945](https://tools.ietf.org/html/rfc2945#section-3) with everything padded out to the size of N, but not all servers use this method. For this reason I have kept the sharedSecret generation separate from the proof generation, so you can insert your own version.

0 comments on commit 4218fe8

Please sign in to comment.