ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
APR1_MD5_CheckTest.php
Go to the documentation of this file.
1
<?php
2
3
use
WhiteHat101\Crypt\APR1_MD5
;
4
5
class
APR1_MD5_CheckTest
extends
PHPUnit_Framework_TestCase
{
6
7
public
function
testHash_WhiteHat101
() {
8
$this->assertTrue(
9
APR1_MD5::check(
'WhiteHat101'
,
'$apr1$HIcWIbgX$G9YqNkCVGlFAN63bClpoT/'
)
10
);
11
}
12
13
public
function
testHash_apache
() {
14
$this->assertTrue(
15
APR1_MD5::check(
'apache'
,
'$apr1$rOioh4Wh$bVD3DRwksETubcpEH90ww0'
)
16
);
17
}
18
19
public
function
testHash_ChangeMe1
() {
20
$this->assertTrue(
21
APR1_MD5::check(
'ChangeMe1'
,
'$apr1$PVWlTz/5$SNkIVyogockgH65nMLn.W1'
)
22
);
23
}
24
25
}
APR1_MD5_CheckTest
Definition:
APR1_MD5_CheckTest.php:5
APR1_MD5_CheckTest\testHash_WhiteHat101
testHash_WhiteHat101()
Definition:
APR1_MD5_CheckTest.php:7
PHPUnit_Framework_TestCase
APR1_MD5_CheckTest\testHash_apache
testHash_apache()
Definition:
APR1_MD5_CheckTest.php:13
APR1_MD5
APR1_MD5_CheckTest\testHash_ChangeMe1
testHash_ChangeMe1()
Definition:
APR1_MD5_CheckTest.php:19
libs
composer
vendor
whitehat101
apr1-md5
tests
APR1_MD5_CheckTest.php
Generated on Sat Jan 18 2025 19:01:13 for ILIAS by
1.8.13 (using
Doxyfile
)