Exemple #1
0
 /**
  * @brief test encryption using legacy blowfish method
  */
 function testLegacyEncryptLong()
 {
     $crypted = Encryption\Crypt::legacyEncrypt($this->dataLong, $this->pass);
     $this->assertNotEquals($this->dataLong, $crypted);
     # TODO: search inencrypted text for actual content to ensure it
     # genuine transformation
     return $crypted;
 }