Searched refs:random_bytes (Results 1 – 25 of 37) sorted by last modified time
12
/php-src/ext/random/ |
H A D | random.c | 567 PHP_FUNCTION(random_bytes) argument
|
H A D | random_arginfo.h | 132 ZEND_FUNCTION(random_bytes); 165 ZEND_FE(random_bytes, arginfo_random_bytes)
|
H A D | random.stub.php | 35 function random_bytes(int $length): string {} function
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_73087.phpt | 20 'content' => base64_encode(random_bytes(10))
|
/php-src/ext/sodium/tests/ |
H A D | crypto_aead.phpt | 15 $msg = random_bytes(random_int(1, 1000)); 18 $ad = random_bytes(random_int(1, 1000)); 38 $msg = random_bytes(random_int(1, 1000)); 41 $ad = random_bytes(random_int(1, 1000)); 67 $msg = random_bytes(random_int(1, 1000)); 70 $ad = random_bytes(random_int(1, 1000)); 94 $msg = random_bytes(random_int(1, 1000)); 96 $ad = random_bytes(random_int(1, 1000)); 120 $msg = random_bytes(random_int(1, 1000)); 122 $ad = random_bytes(random_int(1, 1000)); [all …]
|
H A D | php_password_hash_argon2id.phpt | 27 $password = random_bytes(32);
|
H A D | php_password_verify.phpt | 36 $password = random_bytes(32);
|
H A D | crypto_auth.phpt | 7 $msg = random_bytes(1000); 14 $bad_key = random_bytes(SODIUM_CRYPTO_AUTH_KEYBYTES - 1);
|
H A D | crypto_box.phpt | 25 $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 D | crypto_core_ristretto255.phpt | 86 $ru = random_bytes(64);
|
H A D | crypto_hex.phpt | 7 $bin = random_bytes(random_int(1, 1000));
|
H A D | crypto_secretbox.phpt | 7 $nonce = random_bytes(SODIUM_CRYPTO_SECRETBOX_NONCEBYTES);
|
H A D | crypto_secretstream.phpt | 13 $msg1 = random_bytes(random_int(1, 1000)); 14 $msg2 = random_bytes(random_int(1, 1000)); 16 $ad = random_bytes(random_int(1, 1000));
|
H A D | crypto_stream.phpt | 7 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_NONCEBYTES); 16 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_NONCEBYTES);
|
H A D | crypto_stream_xchacha20.phpt | 9 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES); 18 $nonce = random_bytes(SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES); 38 $n2 = random_bytes(SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES);
|
H A D | php_password_hash_argon2i.phpt | 27 $password = random_bytes(32);
|
/php-src/ext/session/tests/user_session_module/ |
H A D | gh7787.phpt | 36 return sha1(random_bytes(32)); 67 fn() => sha1(random_bytes(32)),
|
H A D | gh9584.phpt | 35 return sha1(random_bytes(32));
|
H A D | save_handler.inc | 136 // e.g. hash('sha2', random_bytes(64)) or use /dev/urandom
|
H A D | bug71162.phpt | 39 return sha1(random_bytes(32));
|
/php-src/ext/random/tests/ |
H A D | engines.inc | 16 $this->state = random_bytes(20);
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | shuffleBytes.phpt | 39 $bytes = sort_bytes(random_bytes($i));
|
/php-src/ext/standard/tests/file/ |
H A D | bug81145.phpt | 31 fwrite($fp, random_bytes(0x200));
|
/php-src/ext/hash/tests/ |
H A D | xxhash_secret.phpt | 15 //$secret = random_bytes(256);
|
/php-src/ext/random/tests/02_engine/ |
H A D | xoshiro256starstar_seed.phpt | 13 $engine = new Xoshiro256StarStar(random_bytes(32));
|
Completed in 51 milliseconds
12