[][src]Enum djangohashers::Algorithm

pub enum Algorithm {
    PBKDF2,
    PBKDF2SHA1,
    Argon2,
    BCryptSHA256,
    BCrypt,
    SHA1,
    MD5,
    UnsaltedSHA1,
    UnsaltedMD5,
    Crypt,
}

Algorithms available to use with Hashers.

Variants

PBKDF2

PBKDF2 key-derivation function with the SHA256 hashing algorithm.

PBKDF2SHA1

PBKDF2 key-derivation function with the SHA1 hashing algorithm.

Argon2

Argon2 key-derivation function.

BCryptSHA256

Bcrypt key-derivation function with the password padded with SHA256.

BCrypt

Bcrypt key-derivation function without password padding.

SHA1

SHA1 hashing function over the salted password.

MD5

MD5 hashing function over the salted password.

UnsaltedSHA1

SHA1 hashing function with no salting.

UnsaltedMD5

MD5 hashing function with no salting.

Crypt

UNIX's crypt(3) hashing algorithm.

Trait Implementations

impl PartialEq<Algorithm> for Algorithm[src]

impl StructuralPartialEq for Algorithm[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,