ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
APR1_MD5_SaltTest.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
7  public function testSaltType() {
8  $this->assertInternalType('string', APR1_MD5::salt());
9  }
10 
11  public function testSaltPattern() {
12  $this->assertRegExp('/.{8}/', APR1_MD5::salt());
13  }
14 
15  public function testSaltRamdomness() {
16  $this->assertNotEquals(APR1_MD5::salt(), APR1_MD5::salt());
17  }
18 
19 }