From b5aa889f7fced8ba2cc1698ae9696d7bd0ca8ab5 Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 20 Dec 2022 11:07:35 +0800 Subject: remove compiled binary --- .../guessing_game/target/doc/rand/trait.CryptoRng.html | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/trait.CryptoRng.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/trait.CryptoRng.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/trait.CryptoRng.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/trait.CryptoRng.html deleted file mode 100644 index 6a8ac45..0000000 --- a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/rand/trait.CryptoRng.html +++ /dev/null @@ -1,18 +0,0 @@ -CryptoRng in rand - Rust
pub trait CryptoRng { }
Expand description

A marker trait used to indicate that an RngCore or BlockRngCore -implementation is supposed to be cryptographically secure.

-

Cryptographically secure generators, also known as CSPRNGs, should -satisfy an additional properties over other generators: given the first -k bits of an algorithm’s output -sequence, it should not be possible using polynomial-time algorithms to -predict the next bit with probability significantly greater than 50%.

-

Some generators may satisfy an additional property, however this is not -required by this trait: if the CSPRNG’s state is revealed, it should not be -computationally-feasible to reconstruct output prior to this. Some other -generators allow backwards-computation and are considered reversible.

-

Note that this trait is provided for guidance only and cannot guarantee -suitability for cryptographic applications. In general it should only be -implemented for well-reviewed code implementing well-regarded algorithms.

-

Note also that use of a CryptoRng does not protect against other -weaknesses such as seeding from a weak entropy source or leaking state.

-

Implementations on Foreign Types

Implementors

\ No newline at end of file -- cgit v1.2.3-70-g09d2