Enum djangohashers::Algorithm [] [src]

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

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.

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.

Trait Implementations

impl PartialEq for Algorithm
[src]

fn eq(&self, __arg_0: &Algorithm) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.