pub enum ClientPasswordHash {
Sha256,
}Expand description
Configuration for client password hashing.
When javascript or WASM modes are enabled, passwords are
hashed with the application name, and account, before transit
(or in the case of WASM prior to the Opaque client operations
if Opaque is selected for the PasswordProtocol).
Variants§
Sha256
Limited by what browsers can support, SHA-256 is a good option for a client-side hash to enable slightly better password protection when in javascript-only mode, without the WASM for Opaque.
Trait Implementations§
Source§impl Clone for ClientPasswordHash
impl Clone for ClientPasswordHash
Source§fn clone(&self) -> ClientPasswordHash
fn clone(&self) -> ClientPasswordHash
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientPasswordHash
impl Debug for ClientPasswordHash
Source§impl<'de> Deserialize<'de> for ClientPasswordHash
impl<'de> Deserialize<'de> for ClientPasswordHash
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClientPasswordHash
impl RefUnwindSafe for ClientPasswordHash
impl Send for ClientPasswordHash
impl Sync for ClientPasswordHash
impl Unpin for ClientPasswordHash
impl UnwindSafe for ClientPasswordHash
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