Skip to content

Commit 055ca55

Browse files
authored
Remove confusing docs (#772)
1 parent 8c53a8f commit 055ca55

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ed25519-dalek/src/signing.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,6 @@ impl SigningKey {
198198
/// # Input
199199
///
200200
/// 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.
207201
#[cfg(any(test, feature = "rand_core"))]
208202
pub fn generate<R: CryptoRngCore + ?Sized>(csprng: &mut R) -> SigningKey {
209203
let mut secret = SecretKey::default();

0 commit comments

Comments
 (0)