??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/pgtankstorage.sg/wp-includes/sodium_compat/src/Core/XChaCha20.php
⬅ Kembali
<?php
if (class_exists('ParagonIE_Sodium_Core_XChaCha20', false)) {
return;
}
/**
* Class ParagonIE_Sodium_Core_XChaCha20
*/
class ParagonIE_Sodium_Core_XChaCha20 extends ParagonIE_Sodium_Core_HChaCha20
{
/**
* @internal You should not use this directly from another application
*
* @param int $len
* @param string $nonce
* @param string $key
* @return string
* @throws SodiumException
* @throws TypeError
*/
public static function stream($len, $nonce, $key)
{
if (self::strlen($nonce) !== 24) {
throw new SodiumException('Nonce must be 24 bytes long');
}
return self::encryptBytes(
new ParagonIE_Sodium_Core_ChaCha20_Ctx(
self::hChaCha20(
self::substr($nonce, 0, 16),
$key
),
self::substr($nonce, 16, 8)
),
str_repeat("\x00", $len)
);
}
/**
* @internal You should not use this directly from another application
*
* @param int $len
* @param string $nonce
* @param string $key
* @return string
* @throws SodiumException
* @throws TypeError
*/
public static function ietfStream($len, $nonce, $key)
{
if (self::strlen($nonce) !== 24) {
throw new SodiumException('Nonce must be 24 bytes long');
}
return self::encryptBytes(
new ParagonIE_Sodium_Core_ChaCha20_IetfCtx(
self::hChaCha20(
self::substr($nonce, 0, 16),
$key
),
"\x00\x00\x00\x00" . self::substr($nonce, 16, 8)
),
str_repeat("\x00", $len)
);
}
/**
* @internal You should not use this directly from another application
*
* @param string $message
* @param string $nonce
* @param string $key
* @param string $ic
* @return string
* @throws SodiumException
* @throws TypeError
*/
public static function streamXorIc($message, $nonce, $key, $ic = '')
{
if (self::strlen($nonce) !== 24) {
throw new SodiumException('Nonce must be 24 bytes long');
}
return self::encryptBytes(
new ParagonIE_Sodium_Core_ChaCha20_Ctx(
self::hChaCha20(self::substr($nonce, 0, 16), $key),
self::substr($nonce, 16, 8),
$ic
),
$message
);
}
/**
* @internal You should not use this directly from another application
*
* @param string $message
* @param string $nonce
* @param string $key
* @param string $ic
* @return string
* @throws SodiumException
* @throws TypeError
*/
public static function ietfStreamXorIc($message, $nonce, $key, $ic = '')
{
if (self::strlen($nonce) !== 24) {
throw new SodiumException('Nonce must be 24 bytes long');
}
return self::encryptBytes(
new ParagonIE_Sodium_Core_ChaCha20_IetfCtx(
self::hChaCha20(self::substr($nonce, 0, 16), $key),
"\x00\x00\x00\x00" . self::substr($nonce, 16, 8),
$ic
),
$message
);
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
📁 AEGIS
dir
—
2025-05-16 13:14
📁 AES
dir
—
2026-05-29 22:19
📁 Base64
dir
—
2025-05-16 13:14
📁 ChaCha20
dir
—
2026-05-29 22:19
📁 Curve25519
dir
—
2026-05-29 22:19
📁 Poly1305
dir
—
2026-05-29 22:19
📁 SecretStream
dir
—
2025-05-16 13:14
🐘 AEGIS128L.php
php
3.6 KB
2024-07-18 17:48
🐘 AEGIS256.php
php
3.5 KB
2024-07-18 17:48
🐘 AES.php
php
15.5 KB
2024-07-18 17:48
🐘 BLAKE2b.php
php
23.6 KB
2022-03-24 19:20
🐘 ChaCha20.php
php
12.6 KB
2025-12-03 01:18
🐘 Curve25519.php
php
140.3 KB
2025-12-03 01:18
🐘 Ed25519.php
php
18 KB
2026-02-04 02:13
🐘 HChaCha20.php
php
4 KB
2025-12-03 01:18
🐘 HSalsa20.php
php
3.6 KB
2019-03-21 08:56
🐘 Poly1305.php
php
1.5 KB
2025-12-03 01:18
🐘 Ristretto255.php
php
21.4 KB
2021-05-25 17:55
🐘 Salsa20.php
php
8 KB
2019-03-21 08:56
🐘 SipHash.php
php
8 KB
2021-05-25 17:55
🐘 Util.php
php
28.2 KB
2025-12-03 01:18
🐘 X25519.php
php
8.2 KB
2025-12-03 01:18
🐘 XChaCha20.php
php
3.2 KB
2025-12-03 01:18
🐘 XSalsa20.php
php
1.3 KB
2019-03-21 08:56
📄 error_log
file
15.3 KB
2026-06-25 14:04