Documentation

Hasher

Table of Contents

Interfaces

PasswordHasherAwareInterface
PasswordHasherFactoryInterface
PasswordHasherFactoryInterface to support different password hashers for different user accounts.
UserPasswordHasherInterface
Interface for the user password hasher service.

Classes

MessageDigestPasswordHasher
MessageDigestPasswordHasher uses a message digest algorithm.
MigratingPasswordHasher
Hashes passwords using the best available hasher.
NativePasswordHasher
Hashes passwords using password_hash().
PasswordHasherFactory
A generic hasher factory implementation.
Pbkdf2PasswordHasher
Pbkdf2PasswordHasher uses the PBKDF2 (Password-Based Key Derivation Function 2).
PlaintextPasswordHasher
PlaintextPasswordHasher does not do any hashing but is useful in testing environments.
SodiumPasswordHasher
Hashes passwords using libsodium.
UserPasswordHasher
Hashes passwords based on the user and the PasswordHasherFactory.

Traits

CheckPasswordLengthTrait

        
On this page

Search results