sodium_crypto_pwhash

PHP 7 >= 7.2.0, PHP 8
sodium_crypto_pwhash - Derive a key from a password, using Argon2
Manual
Code Examples

Example #1 sodium_crypto_pwhash example

Result: a18f346ba57992eb7e4ae6abf3fd30ee
PHP Version:


Function sodium_crypto_pwhash:

Sodium Functions

Most used PHP functions