aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/client.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 37dcc6a..74a72aa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "srp"
-version = "0.2.0"
+version = "0.2.1"
authors = ["RustCrypto Developers"]
license = "MIT/Apache-2.0"
description = "Secure Remote Password (SRP) protocol implementation"
diff --git a/src/client.rs b/src/client.rs
index 87990a6..4348f4f 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -9,7 +9,7 @@
//! use sha2::Sha256;
//!
//! let a = rng.gen_iter::<u8>().take(64).collect::<Vec<u8>>();
-//! let client = SrpClient::<Sha256>::new(&a, &srp_params);
+//! let client = SrpClient::<Sha256>::new(&a, &G_2048);
//! ```
//!
//! Next send handshake data (username and `a_pub`) to the server and receive
@@ -52,7 +52,7 @@
//! registration.
//!
//! ```ignore
-//! let pwd_verifier = SrpClient::<Sha256>::register(&private_key, &srp_params);
+//! let pwd_verifier = client.get_password_verifier(&private_key);
//! conn.send_registration_data(username, salt, pwd_verifier);
//! ```