Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to [the specification] section _The SRP protocol_, `K` (which corresponds to the session key) is computed as follows: ``` K = H(S) ``` where `H` is the digest algorithm, and `S` is the common exponential value. In the [current implementation], `K` is equal to `S`, which does not follow the SRP protocol specification. This commit fixes this issue by computing the right value for `K`. [the specification]: http://srp.stanford.edu/ndss.html#SECTION00032200000000000000 [current implementation]: https://github.com/RustCrypto/PAKEs/blob/8e46d6bfa24d44e6671616d730e978157b2b23e3/srp/src/client.rs#L211
- Loading branch information