Add support for CAST5 using mcrypt

This commit is contained in:
Stephen Paul Weber
2013-09-14 13:17:30 -05:00
parent e1181bd25e
commit d2913ccb8a
4 changed files with 42 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ class Decryption extends PHPUnit_Framework_TestCase {
$this->oneSymmetric("hello", "PGP\n", "symmetric-3des.gpg");
}
public function testDecryptCAST5() { // Requires mcrypt
$this->oneSymmetric("hello", "PGP\n", "symmetric-cast5.gpg");
}
public function testDecryptSessionKey() {
$this->oneSymmetric("hello", "PGP\n", "symmetric-with-session-key.gpg");
}