mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Fixed doc nit from update-ci branch
Co-Authored-by: Michael Rosenberg <michael@mrosenberg.pub>
This commit is contained in:
parent
be8a657ece
commit
c779e215f7
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ impl ReusableSecret {
|
|||
SharedSecret(self.0 * their_public.0)
|
||||
}
|
||||
|
||||
/// Generate a non-serializeable x25519 [`ReuseableSecret`] key.
|
||||
/// Generate a non-serializeable x25519 [`ReusableSecret`] key.
|
||||
pub fn new<T: RngCore + CryptoRng>(mut csprng: T) -> Self {
|
||||
let mut bytes = [0u8; 32];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue