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 8c53a8f commit 055ca55Copy full SHA for 055ca55
ed25519-dalek/src/signing.rs
@@ -198,12 +198,6 @@ impl SigningKey {
198
/// # Input
199
///
200
/// A CSPRNG with a `fill_bytes()` method, e.g. `rand_os::OsRng`.
201
- ///
202
- /// The caller must also supply a hash function which implements the
203
- /// `Digest` and `Default` traits, and which returns 512 bits of output.
204
- /// The standard hash function used for most ed25519 libraries is SHA-512,
205
- /// which is available with `use sha2::Sha512` as in the example above.
206
- /// Other suitable hash functions include Keccak-512 and Blake2b-512.
207
#[cfg(any(test, feature = "rand_core"))]
208
pub fn generate<R: CryptoRngCore + ?Sized>(csprng: &mut R) -> SigningKey {
209
let mut secret = SecretKey::default();
0 commit comments