pub struct ProcessSource;Expand description
Entropy source that snapshots the process table via ps and combines it
with getpid() timing jitter.
No tunable parameters — the source reads the full process table and automatically extracts entropy from byte-level changes.
Implementations§
Source§impl ProcessSource
impl ProcessSource
Trait Implementations§
Source§impl Default for ProcessSource
impl Default for ProcessSource
Source§impl EntropySource for ProcessSource
impl EntropySource for ProcessSource
Source§fn info(&self) -> &SourceInfo
fn info(&self) -> &SourceInfo
Source metadata.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if this source can operate on the current machine.
Source§fn collect(&self, n_samples: usize) -> Vec<u8> ⓘ
fn collect(&self, n_samples: usize) -> Vec<u8> ⓘ
Collect raw entropy samples. Returns a
Vec<u8> of up to n_samples bytes.Auto Trait Implementations§
impl Freeze for ProcessSource
impl RefUnwindSafe for ProcessSource
impl Send for ProcessSource
impl Sync for ProcessSource
impl Unpin for ProcessSource
impl UnsafeUnpin for ProcessSource
impl UnwindSafe for ProcessSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more