X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=srp%2Fsrc%2Flib.rs;h=4cb7a7a2b8ce1edd42dbfd55324c30f1ae000955;hb=bc841d09c6388de7e648ead1d6bedca95ecc74b4;hp=cec6f3684b8e569b000f3b81be8b636e98af6f2a;hpb=ea09792d0ff16d3fa75eda5f377de498584eaf7c;p=PAKEs.git diff --git a/srp/src/lib.rs b/srp/src/lib.rs index cec6f36..4cb7a7a 100644 --- a/srp/src/lib.rs +++ b/srp/src/lib.rs @@ -10,7 +10,7 @@ //! Compatibility with over implementations was not yet tested. //! //! # Usage -//! Add `srp` dependecy to your `Cargo.toml`: +//! Add `srp` dependency to your `Cargo.toml`: //! //! ```toml //! [dependencies] @@ -27,7 +27,7 @@ //! [`server`](server/index.html) modules. //! //! # Algorithm description -//! Here we briefly describe implemented algroithm. For additionall information +//! Here we briefly describe implemented algorithm. For additional information //! refer to SRP literature. All arithmetic is done modulo `N`, where `N` is a //! large safe prime (`N = 2q+1`, where `q` is prime). Additionally `g` MUST be //! a generator modulo `N`. It's STRONGLY recommended to use SRP parameters @@ -43,8 +43,7 @@ //! |`M1 = H(A ‖ B ‖ K)` | — `M1` —> | (verify `M1`) | //! |(verify `M2`) | <— `M2` — | `M2 = H(A ‖ M1 ‖ K)` | //! -//! Variables and notations have the following -//! meaning: +//! Variables and notations have the following meaning: //! //! - `I` — user identity (username) //! - `P` — user password