Home
last modified time | relevance | path

Searched refs:PHP_OPENSSL_SALT_SIZE (Results 1 – 1 of 1) sorted by relevance

/PHP-8.4/ext/openssl/
H A Dopenssl_pwhash.c45 #define PHP_OPENSSL_SALT_SIZE 16 macro
139 unsigned char hash[PHP_OPENSSL_HASH_SIZE+1], salt[PHP_OPENSSL_SALT_SIZE+1]; in php_openssl_argon2_hash()
148 if (RAND_bytes(salt, PHP_OPENSSL_SALT_SIZE) <= 0) { in php_openssl_argon2_hash()
153 …ZSTR_VAL(password), ZSTR_LEN(password), salt, PHP_OPENSSL_SALT_SIZE, hash, PHP_OPENSSL_HASH_SIZE))… in php_openssl_argon2_hash()
159 salt64 = php_base64_encode_ex(salt, PHP_OPENSSL_SALT_SIZE, PHP_BASE64_NO_PADDING); in php_openssl_argon2_hash()

Completed in 12 milliseconds