pub struct Deterministic;
Expand description
This encryption strategy is guaranteed to always produce the same nonce for a payload, which will generate the same encrypted message every time.
This is useful for data you’d like to be able to query, as you can simply encrypt the payload you’re querying for & search for the same encrypted message.
Trait Implementations§
Source§impl Debug for Deterministic
impl Debug for Deterministic
Source§impl PartialEq for Deterministic
impl PartialEq for Deterministic
Source§impl Strategy for Deterministic
impl Strategy for Deterministic
impl Eq for Deterministic
impl StructuralPartialEq for Deterministic
Auto Trait Implementations§
impl Freeze for Deterministic
impl RefUnwindSafe for Deterministic
impl Send for Deterministic
impl Sync for Deterministic
impl Unpin for Deterministic
impl UnwindSafe for Deterministic
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