Enum rs_firebase_admin_sdk::auth::import::PasswordHash
source · pub enum PasswordHash {
HmacSha512 {
hash: String,
salt: Option<String>,
key: String,
},
HmacSha256 {
hash: String,
salt: Option<String>,
key: String,
},
HmacSha1 {
hash: String,
salt: Option<String>,
key: String,
},
HmacMd5 {
hash: String,
salt: Option<String>,
key: String,
},
Sha256 {
hash: String,
salt: Option<String>,
rounds: u32,
},
Sha512 {
hash: String,
salt: Option<String>,
rounds: u32,
},
Ppkdf2Sha1 {
hash: String,
salt: Option<String>,
rounds: u32,
},
Ppkdf2Sha256 {
hash: String,
salt: Option<String>,
rounds: u32,
},
Scrypt {
hash: String,
salt: Option<String>,
key: String,
rounds: u32,
memory_cost: u8,
salt_separator: Option<String>,
},
StandardScrypt {
hash: String,
salt: Option<String>,
block_size: usize,
parallelization: usize,
memory_cost: u8,
dk_len: usize,
},
Bcrypt {
hash: String,
salt: Option<String>,
},
}Variants§
HmacSha512
HmacSha256
HmacSha1
HmacMd5
Sha256
Sha512
Ppkdf2Sha1
Ppkdf2Sha256
Scrypt
Fields
StandardScrypt
Fields
Bcrypt
Trait Implementations§
source§impl Clone for PasswordHash
impl Clone for PasswordHash
source§fn clone(&self) -> PasswordHash
fn clone(&self) -> PasswordHash
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for PasswordHash
impl Send for PasswordHash
impl Sync for PasswordHash
impl Unpin for PasswordHash
impl UnwindSafe for PasswordHash
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