All Projects → symfony → password-hasher

symfony / password-hasher

Licence: MIT license
The PasswordHasher component provides password hashing utilities.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to password-hasher

Password4j
Password4j is a user-friendly cryptographic library that supports Argon2, Bcrypt, Scrypt, PBKDF2 and various cryptographic hash functions.
Stars: ✭ 124 (-70.82%)
Mutual labels:  hashing, password
Upash
🔒Unified API for password hashing algorithms
Stars: ✭ 484 (+13.88%)
Mutual labels:  hashing, password
Argon2 Jvm
Argon2 Binding for the JVM
Stars: ✭ 245 (-42.35%)
Mutual labels:  hashing, password
Node Argon2
Node.js bindings for Argon2 hashing algorithm
Stars: ✭ 1,008 (+137.18%)
Mutual labels:  hashing, password
CryptoKnight
CryptoKnight is a general purpose cryptography desktop app
Stars: ✭ 18 (-95.76%)
Mutual labels:  hashing, password
sshash
A compressed, associative, exact, and weighted dictionary for k-mers.
Stars: ✭ 62 (-85.41%)
Mutual labels:  hashing
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (-94.82%)
Mutual labels:  password
SRP
Secure Remote Password (SRP) for Swift
Stars: ✭ 44 (-89.65%)
Mutual labels:  password
pwm
自用的密码管理工具
Stars: ✭ 34 (-92%)
Mutual labels:  password
todos-express-password
Todo app using Express and Passport for sign in with username and password.
Stars: ✭ 739 (+73.88%)
Mutual labels:  password
jumble-password
🔐 A tiny tool to create unique id's or passwords.
Stars: ✭ 30 (-92.94%)
Mutual labels:  password
chinese-diceware
Diceware word lists in Chinese
Stars: ✭ 27 (-93.65%)
Mutual labels:  password
mongoose-pii
A Mongoose plugin that lets you transparently cipher stored PII and use securely-hashed passwords
Stars: ✭ 43 (-89.88%)
Mutual labels:  password
noble-hashes
Audited & minimal JS implementation of SHA2, SHA3, RIPEMD, BLAKE2/3, HMAC, HKDF, PBKDF2 & Scrypt
Stars: ✭ 213 (-49.88%)
Mutual labels:  hashing
NEMO
Modeling Password Guessability Using Markov Models
Stars: ✭ 46 (-89.18%)
Mutual labels:  password
typo3-secure-downloads
Secure your assets and data from unwanted download. Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.
Stars: ✭ 15 (-96.47%)
Mutual labels:  hashing
turaku-client
Web / Electron client application for Turaku
Stars: ✭ 27 (-93.65%)
Mutual labels:  password
mpw-rs
Master Password in Pure Rust
Stars: ✭ 34 (-92%)
Mutual labels:  password
PASSY
This project has moved to GitLab.com
Stars: ✭ 14 (-96.71%)
Mutual labels:  password
LBFH
About All in one tool for Information Gathering, Vulnerability Scanning and Crawling. A must have tool for all penetration testers
Stars: ✭ 46 (-89.18%)
Mutual labels:  password

PasswordHasher Component

The PasswordHasher component provides secure password hashing utilities.

Getting Started

$ composer require symfony/password-hasher
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory;

// Configure different password hashers via the factory
$factory = new PasswordHasherFactory([
    'common' => ['algorithm' => 'bcrypt'],
    'memory-hard' => ['algorithm' => 'sodium'],
]);

// Retrieve the right password hasher by its name
$passwordHasher = $factory->getPasswordHasher('common');

// Hash a plain password
$hash = $passwordHasher->hash('plain'); // returns a bcrypt hash

// Verify that a given plain password matches the hash
$passwordHasher->verify($hash, 'wrong'); // returns false
$passwordHasher->verify($hash, 'plain'); // returns true (valid)

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].