We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b6b7f commit ea96f26Copy full SHA for ea96f26
belt-dwp/src/lib.rs
@@ -58,7 +58,7 @@
58
//! BeltDwp, Nonce
59
//! };
60
//!
61
-//! let key = BeltDwp::generate_key(&mut OsRng)?;
+//! let key = BeltDwp::generate_key(&mut OsRng);
62
//! let cipher = BeltDwp::new(&key);
63
//! let nonce = Nonce::from_slice(b"unique nonce1234"); // 128-bits; unique per message
64
0 commit comments