Skip to content

Commit 7f9f0f5

Browse files
committed
1.0 branch didn't fully support cfb mode
1 parent 2f08f6b commit 7f9f0f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mcrypt.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ function phpseclib_mcrypt_module_open($algorithm, $algorithm_directory, $mode, $
272272
'ctr' => Base::MODE_CTR,
273273
'ecb' => Base::MODE_ECB,
274274
'cbc' => Base::MODE_CBC,
275+
'cfb' => Base::MODE_CFB8,
275276
'ncfb'=> Base::MODE_CFB,
276277
'nofb'=> Base::MODE_OFB,
277278
'stream' => Base::MODE_STREAM

0 commit comments

Comments
 (0)