Searched refs:salt64 (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/openssl/ |
H A D | openssl_pwhash.c | 138 zend_string *digest = NULL, *salt64 = NULL, *hash64 = NULL; in php_openssl_argon2_hash() local 159 salt64 = php_base64_encode_ex(salt, PHP_OPENSSL_SALT_SIZE, PHP_BASE64_NO_PADDING); in php_openssl_argon2_hash() 163 algo, version, memlimit, iterlimit, threads, ZSTR_VAL(salt64), ZSTR_VAL(hash64)); in php_openssl_argon2_hash() 165 zend_string_release(salt64); in php_openssl_argon2_hash() 176 char *hash64, *salt64; in php_openssl_argon2_extract() local 204 salt64 = estrdup(p+1); in php_openssl_argon2_extract() 206 hash64 = strchr(salt64, '$'); in php_openssl_argon2_extract() 208 efree(salt64); in php_openssl_argon2_extract() 212 *salt = php_base64_decode((unsigned char *)salt64, strlen(salt64)); in php_openssl_argon2_extract() 214 efree(salt64); in php_openssl_argon2_extract()
|
Completed in 5 milliseconds