run:R W Run
4.06 KB
2026-03-11 16:18:52
R W Run
1.31 KB
2026-03-11 16:18:52
R W Run
46.24 KB
2026-03-11 16:18:52
R W Run
4.49 KB
2026-03-11 16:18:52
R W Run
3.57 KB
2026-03-11 16:18:52
R W Run
401 By
2026-03-11 16:18:52
R W Run
7.79 KB
2026-03-11 16:18:52
R W Run
26.8 KB
2026-03-11 16:18:52
R W Run
2.03 KB
2026-03-11 16:18:52
R W Run
error_log
📄stream-xchacha20.php
1<?php
2
3if (!is_callable('sodium_crypto_stream_xchacha20')) {
4 /**
5 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20()
6 * @param int $len
7 * @param string $nonce
8 * @param string $key
9 * @return string
10 * @throws SodiumException
11 * @throws TypeError
12 */
13 function sodium_crypto_stream_xchacha20(
14 $len,
15 $nonce,
16 #[\SensitiveParameter]
17 $key
18 ) {
19 return ParagonIE_Sodium_Compat::crypto_stream_xchacha20($len, $nonce, $key, true);
20 }
21}
22if (!is_callable('sodium_crypto_stream_xchacha20_keygen')) {
23 /**
24 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen()
25 * @return string
26 * @throws Exception
27 */
28 function sodium_crypto_stream_xchacha20_keygen()
29 {
30 return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen();
31 }
32}
33if (!is_callable('sodium_crypto_stream_xchacha20_xor')) {
34 /**
35 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor()
36 * @param string $message
37 * @param string $nonce
38 * @param string $key
39 * @return string
40 * @throws SodiumException
41 * @throws TypeError
42 */
43 function sodium_crypto_stream_xchacha20_xor(
44 #[\SensitiveParameter]
45 $message,
46 $nonce,
47 #[\SensitiveParameter]
48 $key
49 ) {
50 return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor($message, $nonce, $key, true);
51 }
52}
53if (!is_callable('sodium_crypto_stream_xchacha20_xor_ic')) {
54 /**
55 * @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic()
56 * @param string $message
57 * @param string $nonce
58 * @param int $counter
59 * @param string $key
60 * @return string
61 * @throws SodiumException
62 * @throws TypeError
63 */
64 function sodium_crypto_stream_xchacha20_xor_ic(
65 #[\SensitiveParameter]
66 $message,
67 $nonce,
68 $counter,
69 #[\SensitiveParameter]
70 $key
71 ) {
72 return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic($message, $nonce, $counter, $key, true);
73 }
74}
75