mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Disambiguate what kind of key in docstring.
This commit is contained in:
parent
edb9ec984e
commit
eef4de41c0
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ impl ReusableSecret {
|
|||
SharedSecret(&self.0 * their_public.0)
|
||||
}
|
||||
|
||||
/// Generate a non-serializeable x25519 key.
|
||||
/// Generate a non-serializeable x25519 [`ReuseableSecret`] key.
|
||||
pub fn new<T: RngCore + CryptoRng>(mut csprng: T) -> Self {
|
||||
let mut bytes = [0u8; 32];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue