From ea96f2682681e7e7bccbb42d4d00f291f2b2210e Mon Sep 17 00:00:00 2001 From: Alexandr Kitaev Date: Sun, 19 May 2024 16:34:28 +0300 Subject: [PATCH] fix belt-dwp tests --- belt-dwp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/belt-dwp/src/lib.rs b/belt-dwp/src/lib.rs index 665d05c1..8e5ac945 100644 --- a/belt-dwp/src/lib.rs +++ b/belt-dwp/src/lib.rs @@ -58,7 +58,7 @@ //! BeltDwp, Nonce //! }; //! -//! let key = BeltDwp::generate_key(&mut OsRng)?; +//! let key = BeltDwp::generate_key(&mut OsRng); //! let cipher = BeltDwp::new(&key); //! let nonce = Nonce::from_slice(b"unique nonce1234"); // 128-bits; unique per message //!