Home
last modified time | relevance | path

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

/php-src/ext/sodium/tests/
H A Dcrypto_scalarmult.phpt7 $n = sodium_hex2bin("5dab087e624a8a4b79e17f8b83800ee66f3bb1292618b6fd1c2f8b27ff88e0eb");
8 $p = sodium_hex2bin("8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a");
H A Dcrypto_hex.phpt12 $bin2 = sodium_hex2bin($hex);
15 $bin2 = sodium_hex2bin('[' . $hex .']', '[]');
H A Dcrypto_kx.phpt7 $client_seed = sodium_hex2bin('0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef');
9 $server_seed = sodium_hex2bin('f123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde0');
H A Dcrypto_sign.phpt56 $ed25519key = sodium_hex2bin("55b62f664bf1c359f58a6b91b89556f97284273510573055b9237d17f5a20564607f0…
58 var_dump($curve25519key === sodium_hex2bin("381b2be5e3d38820deb1243fb58b4be654da30dd3ccde492cb88f93…
H A Dcrypto_box.phpt127 $msg = sodium_hex2bin(
131 $kp = sodium_hex2bin(
H A Dcrypto_core_ristretto255.phpt55 $s = sodium_hex2bin($badHex[$i]);
59 $inputHash = sodium_hex2bin(
H A Dcrypto_scalarmult_ristretto255.phpt11 $b = sodium_hex2bin("e2f2ae0a6abc4e71a884a961c500515f58e30b6aa582dd8db6a65945e08d2d76");
/php-src/ext/sodium/
H A Dlibsodium.stub.php791 function sodium_hex2bin(#[\SensitiveParameter] string $string, string $ignore = ""): string {}
H A Dlibsodium_arginfo.h748 ZEND_FUNCTION(sodium_hex2bin);
951 ZEND_FE(sodium_hex2bin, arginfo_sodium_hex2bin)
H A Dlibsodium.c2478 PHP_FUNCTION(sodium_hex2bin) in PHP_FUNCTION() argument
2497 if (sodium_hex2bin((unsigned char *) ZSTR_VAL(bin), bin_len, hex, hex_len, in PHP_FUNCTION()

Completed in 27 milliseconds