Skip to content

Commit

Permalink
blowfish-compat is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Jul 3, 2016
1 parent 15237bd commit d0d6ab8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ composer require phpseclib/mcrypt_compat
- rijndael-128
- rijndael-192
- rijndael-256
- blowfish-compat
- des
- blowfish
- rc2
Expand All @@ -32,6 +31,7 @@ composer require phpseclib/mcrypt_compat
- loki97
- saferplus
- wake
- blowfish-compat
- serpent
- xtea
- enigma
Expand Down
3 changes: 0 additions & 3 deletions lib/mcrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ function phpseclib_mcrypt_module_open($algorithm, $algorithm_directory, $mode, $
$cipher = new phpseclib_mcrypt_rijndael($modeMap[$mode]);
$cipher->setBlockLength(192);
break;
case 'blowfish-compat':
$cipher = new Blowfish($modeMap[$mode]);
break;
case 'des':
$cipher = new DES($modeMap[$mode]);
break;
Expand Down

0 comments on commit d0d6ab8

Please sign in to comment.