예제 #1
0
 public function getHash($password, $salt = false)
 {
     return $this->_realHashModel->getHash($password, $salt);
 }
예제 #2
0
 public function testValidateHashWithMd5AndSalt()
 {
     $expected = '67a1e09bb1f83f5007dc119c14d663aa:salt';
     $this->assertTrue($this->_encryption->validateHash('password', $expected));
 }