Docs.rs
nettle-7.3.0
nettle 7.3.0
Docs.rs crate page
LGPL-3.0 OR GPL-2.0 OR GPL-3.0
Links
Documentation
Repository
crates.io
Source
Owners
teythoon
nwalfield
Dependencies
getrandom ^0.2
normal
libc ^0.2.33
normal
nettle-sys ^2.2
normal
thiserror ^1
normal
typenum ^1
normal
Versions
95.83%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In nettle::ed25519
?
Function
nettle
::
ed25519
::
private_key
source
·
[
−
]
pub fn private_key<R>(rng:
&mut R
) ->
Box
<[
u8
]>
where R:
Random
,
Expand description
Generates a new Ed25519 private key.