Struct hc_seed_bundle::LockedSeedCipherPwHash
source · pub struct LockedSeedCipherPwHash { /* private fields */ }
Expand description
This locked cipher is a simple pwHash type.
Implementations§
source§impl LockedSeedCipherPwHash
impl LockedSeedCipherPwHash
sourcepub async fn unlock<P>(self, passphrase: P) -> SodokenResult<UnlockedSeedBundle>
pub async fn unlock<P>(self, passphrase: P) -> SodokenResult<UnlockedSeedBundle>
Decrypt this Cipher into an UnlockedSeedBundle struct.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LockedSeedCipherPwHash
impl Send for LockedSeedCipherPwHash
impl Sync for LockedSeedCipherPwHash
impl Unpin for LockedSeedCipherPwHash
impl !UnwindSafe for LockedSeedCipherPwHash
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