Home
last modified time | relevance | path

Searched refs:random_bytes (Results 1 – 25 of 32) sorted by path

12

/PHP-7.4/
H A DUPGRADING90 error situations, similar to random_bytes(). In particular, an Error is
/PHP-7.4/ext/bz2/tests/
H A Dbug81092.phpt11 fwrite($stream, random_bytes(8192));
/PHP-7.4/ext/opcache/tests/
H A Dbug76275.phpt15 if (!is_callable('random_bytes')) {
19 function random_bytes($length)
/PHP-7.4/ext/openssl/tests/
H A Dbug74099.phpt9 $aad = random_bytes(32);
10 $iv = random_bytes(16);
11 $key = random_bytes(32);
H A Dbug74402.phpt2 Bug #74402 (segfault on random_bytes, bin3hex, openssl_seal)
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_73087.phpt17 'content' => base64_encode(random_bytes(10))
/PHP-7.4/ext/session/tests/
H A Dbug71162.phpt40 return sha1(random_bytes(32));
H A Dsave_handler.inc136 // e.g. hash('sha2', random_bytes(64)) or use /dev/urandom
/PHP-7.4/ext/sodium/tests/
H A Dcrypto_aead.phpt12 $msg = random_bytes(random_int(1, 1000));
13 $nonce = random_bytes(SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES);
15 $ad = random_bytes(random_int(1, 1000));
35 $msg = random_bytes(random_int(1, 1000));
36 $nonce = random_bytes(SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES);
38 $ad = random_bytes(random_int(1, 1000));
64 $msg = random_bytes(random_int(1, 1000));
67 $ad = random_bytes(random_int(1, 1000));
91 $msg = random_bytes(random_int(1, 1000));
92 $nonce = random_bytes(SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES);
[all …]
H A Dcrypto_auth.phpt7 $msg = random_bytes(1000);
14 $bad_key = random_bytes(SODIUM_CRYPTO_AUTH_KEYBYTES - 1);
H A Dcrypto_box.phpt25 $message_nonce = random_bytes(SODIUM_CRYPTO_BOX_NONCEBYTES);
91 $alice_to_bob_message_nonce = random_bytes(SODIUM_CRYPTO_BOX_NONCEBYTES);
101 $bob_to_alice_message_nonce = random_bytes(SODIUM_CRYPTO_BOX_NONCEBYTES);
H A Dcrypto_hex.phpt7 $bin = random_bytes(random_int(1, 1000));
H A Dcrypto_secretbox.phpt7 $nonce = random_bytes(SODIUM_CRYPTO_SECRETBOX_NONCEBYTES);
H A Dcrypto_secretstream.phpt12 $msg1 = random_bytes(random_int(1, 1000));
13 $msg2 = random_bytes(random_int(1, 1000));
15 $ad = random_bytes(random_int(1, 1000));
H A Dcrypto_stream.phpt7 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_NONCEBYTES);
16 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_NONCEBYTES);
H A Dphp_password_hash_argon2i.phpt24 $password = random_bytes(32);
H A Dphp_password_hash_argon2id.phpt24 $password = random_bytes(32);
H A Dphp_password_verify.phpt35 $password = random_bytes(32);
H A Dpwhash_argon2i.phpt30 $salt = random_bytes(SODIUM_CRYPTO_PWHASH_SALTBYTES);
H A Dpwhash_scrypt.phpt22 $salt = random_bytes(SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES);
H A Dsodium_error_001.phpt14 $key = random_bytes(SODIUM_CRYPTO_SHORTHASH_KEYBYTES);
H A Dutils.phpt59 $bin = $i == 0 ? '' : random_bytes($i);
/PHP-7.4/ext/standard/
H A Dbasic_functions.c2895 PHP_FE(random_bytes, arginfo_random_bytes)
H A Dphp_random.h24 PHP_FUNCTION(random_bytes);
H A Drandom.c200 PHP_FUNCTION(random_bytes) in PHP_FUNCTION() argument

Completed in 128 milliseconds

12