mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
parent
133afff5a7
commit
04f75767f3
1 changed files with 0 additions and 1 deletions
|
|
@ -436,7 +436,6 @@ impl Scalar {
|
|||
/// # Returns
|
||||
///
|
||||
/// A random scalar within ℤ/lℤ.
|
||||
#[cfg(feature = "std")]
|
||||
pub fn random<T: Rng + CryptoRng>(rng: &mut T) -> Self {
|
||||
let mut scalar_bytes = [0u8; 64];
|
||||
rng.fill(&mut scalar_bytes);
|
||||
|
|
|
|||
Loading…
Reference in a new issue