Struct bitcoin_random::RNGInnerState
source · pub struct RNGInnerState { /* private fields */ }
Expand description
| The RNG state consists of 256 bits of | entropy, taken from the output of one | operation’s SHA512 output, and fed | as input to the next one. | | Carrying 256 bits of entropy should | be sufficient to guarantee unpredictability | as long as any entropy source was ever | unpredictable to an attacker. To protect | against situations where an attacker | might observe the RNG’s state, fresh | entropy is always mixed when | | GetStrongRandBytes is called. |
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RNGInnerState
impl Send for RNGInnerState
impl Sync for RNGInnerState
impl Unpin for RNGInnerState
impl UnwindSafe for RNGInnerState
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more