!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/ircmaxell/random-lib/test/Unit/RandomLib/Mixer/   drwxrwxr-x
Free 11.27 GB of 61.93 GB (18.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HashTest.php (1.66 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 * The RandomLib library for securely generating random numbers and strings in PHP
 *
 * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
 * @copyright  2011 The Authors
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 * @version    Build @@version@@
 */
namespace RandomLib\Mixer;

use 
SecurityLib\Strength;

class 
HashTest extends \PHPUnit_Framework_TestCase
{
    public static function 
provideMix()
    {
        
$data = array(
            array(array(), 
''),
            array(array(
'1''1'), '0d'),
            array(array(
'a'), '61'),
            
// This expects 'b' because of how the mock hmac function works
            
array(array('a''b'), '9a'),
            array(array(
'aa''ba'), '6e84'),
            array(array(
'ab''bb'), 'b0cb'),
            array(array(
'aa''bb'), 'ae8d'),
            array(array(
'aa''bb''cc'), 'a14c'),
            array(array(
'aabbcc''bbccdd''ccddee'), 'a8aff3939934'),
        );

        return 
$data;
    }

    public function 
testConstructWithoutArgument()
    {
        
$hash = new Hash();
        
$this->assertTrue($hash instanceof \RandomLib\Mixer);
    }

    public function 
testGetStrength()
    {
        
$strength = new Strength(Strength::MEDIUM);
        
$actual Hash::getStrength();
        
$this->assertEquals($actual$strength);
    }

    public function 
testTest()
    {
        
$actual Hash::test();
        
$this->assertTrue($actual);
    }

    
/**
     * @dataProvider provideMix
     */
    
public function testMix($parts$result)
    {
        
$mixer = new Hash('md5');
        
$actual $mixer->mix($parts);
        
$this->assertEquals($resultbin2hex($actual));
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.7882 ]--