File Manager Lite
Dir:
/home/atomylvb/jarangomd.com/wp-includes/sodium_compat/src/Core32
Upload
[..]
BLAKE2b.php (21.8 KB)
Edit
Rename
Del
ChaCha20/
Rename
Del
ChaCha20.php (14.17 KB)
Edit
Rename
Del
Curve25519/
Rename
Del
Curve25519.php (129.86 KB)
Edit
Rename
Del
Ed25519.php (15.37 KB)
Edit
Rename
Del
HChaCha20.php (5.17 KB)
Edit
Rename
Del
HSalsa20.php (6.78 KB)
Edit
Rename
Del
Poly1305/
Rename
Del
Poly1305.php (1.55 KB)
Edit
Rename
Del
Salsa20.php (11.24 KB)
Edit
Rename
Del
SecretStream/
Rename
Del
Util.php (209 B)
Edit
Rename
Del
X25519.php (10.78 KB)
Edit
Rename
Del
XChaCha20.php (2.4 KB)
Edit
Rename
Del
XSalsa20.php (1.35 KB)
Edit
Rename
Del
error_log (12.49 KB)
Edit
Rename
Del
Edit: XSalsa20.php
<?php if (class_exists('ParagonIE_Sodium_Core32_XSalsa20', false)) { return; } /** * Class ParagonIE_Sodium_Core32_XSalsa20 */ abstract class ParagonIE_Sodium_Core32_XSalsa20 extends ParagonIE_Sodium_Core32_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 ) ); } }
Simpan