Example #1
0
 /**
  * @brief test decryption using legacy blowfish method
  * @depends testLegacyEncryptLong
  */
 function testLegacyDecryptLong($crypted)
 {
     $decrypted = Encryption\Crypt::legacyBlockDecrypt($crypted, $this->pass);
     $this->assertEquals($this->dataLong, $decrypted);
     $this->assertFalse(Encryption\Crypt::getBlowfish(''));
 }