pub struct SaltedRedactor { /* private fields */ }Expand description
A Redactor that hashes identifiers using a 32-byte per-boot secret salt.
For MAC addresses and BSSIDs, the first 3 octets (hardware vendor OUI prefix) are preserved and the last 3 octets are replaced with the first 3 octets of the salted SHA-256 digest of the full 6-octet address.
Implementations§
Trait Implementations§
Source§impl Clone for SaltedRedactor
impl Clone for SaltedRedactor
impl Copy for SaltedRedactor
Source§impl Debug for SaltedRedactor
impl Debug for SaltedRedactor
impl Eq for SaltedRedactor
Source§impl PartialEq for SaltedRedactor
impl PartialEq for SaltedRedactor
Source§impl Redactor for SaltedRedactor
impl Redactor for SaltedRedactor
impl StructuralPartialEq for SaltedRedactor
Auto Trait Implementations§
impl Freeze for SaltedRedactor
impl RefUnwindSafe for SaltedRedactor
impl Send for SaltedRedactor
impl Sync for SaltedRedactor
impl Unpin for SaltedRedactor
impl UnsafeUnpin for SaltedRedactor
impl UnwindSafe for SaltedRedactor
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