X7ROOT File Manager
Current Path:
/home/softbdltd/images-bd.com/wp-includes87b/sodium_compat/src/Core
home
/
softbdltd
/
images-bd.com
/
wp-includes87b
/
sodium_compat
/
src
/
Core
/
??
..
??
AEGIS
??
AEGIS128L.php
(3.58 KB)
??
AEGIS256.php
(3.51 KB)
??
AES
??
AES.php
(15.51 KB)
??
BLAKE2b.php
(23.63 KB)
??
Base64
??
ChaCha20
??
ChaCha20.php
(12.63 KB)
??
Curve25519
??
Curve25519.php
(139.29 KB)
??
Ed25519.php
(17.07 KB)
??
HChaCha20.php
(3.78 KB)
??
HSalsa20.php
(3.59 KB)
??
Poly1305
??
Poly1305.php
(1.54 KB)
??
Ristretto255.php
(21.37 KB)
??
Salsa20.php
(8.04 KB)
??
SecretStream
??
SipHash.php
(8.04 KB)
??
Util.php
(28.25 KB)
??
X25519.php
(9.23 KB)
??
XChaCha20.php
(3.29 KB)
??
XSalsa20.php
(1.34 KB)
Editing: XSalsa20.php
<?php if (class_exists('ParagonIE_Sodium_Core_XSalsa20', false)) { return; } /** * Class ParagonIE_Sodium_Core_XSalsa20 */ abstract class ParagonIE_Sodium_Core_XSalsa20 extends ParagonIE_Sodium_Core_HSalsa20 { /** * Expand a key and nonce into an xsalsa20 keystream. * * @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 xsalsa20($len, $nonce, $key) { $ret = self::salsa20( $len, self::substr($nonce, 16, 8), self::hsalsa20($nonce, $key) ); return $ret; } /** * Encrypt a string with XSalsa20. Doesn't provide integrity. * * @internal You should not use this directly from another application * * @param string $message * @param string $nonce * @param string $key * @return string * @throws SodiumException * @throws TypeError */ public static function xsalsa20_xor($message, $nonce, $key) { return self::xorStrings( $message, self::xsalsa20( self::strlen($message), $nonce, $key ) ); } }
Upload File
Create Folder