sodium_crypto_pwhash_str

PHP 7 >= 7.2.0, PHP 8
sodium_crypto_pwhash_str - Get an ASCII-encoded hash
Manual
Code Examples

Example #1 sodium_crypto_pwhash_str example

Result: $argon2id$v=19$m=65536,t=2,p=1$oWIfdaXwWwhVmovOBc2NAQ$EbsZ+JnZyyavkafS0hoc4HdaOB0ILWZESAZ7kVGa+Iw
PHP Version:


Function sodium_crypto_pwhash_str:

Sodium Functions

Most used PHP functions