Home
last modified time | relevance | path

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

/PHP-8.4/ext/openssl/
H A Dopenssl_pwhash.c138 zend_string *digest = NULL, *salt64 = NULL, *hash64 = NULL; in php_openssl_argon2_hash() local
157 hash64 = php_base64_encode_ex(hash, PHP_OPENSSL_HASH_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()
166 zend_string_release(hash64); in php_openssl_argon2_hash()
176 char *hash64, *salt64; in php_openssl_argon2_extract() local
206 hash64 = strchr(salt64, '$'); in php_openssl_argon2_extract()
207 if (!hash64) { in php_openssl_argon2_extract()
211 *hash64++ = 0; in php_openssl_argon2_extract()
213 *hash = php_base64_decode((unsigned char *)hash64, strlen(hash64)); in php_openssl_argon2_extract()

Completed in 5 milliseconds