Skip to content

Commit e18ccd4

Browse files
authored
README: add note on how to install
1 parent cbcf750 commit e18ccd4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
PHP 5.x polyfill for mcrypt extension.
66

7+
## Installation
8+
9+
With [Composer](https://getcomposer.org/):
10+
11+
```
12+
composer require phpseclib/mcrypt_compat
13+
```
14+
715
## Supported algorithms
816

917
- rijndael-128
@@ -37,4 +45,4 @@ PHP 5.x polyfill for mcrypt extension.
3745
- nofb
3846
- stream
3947

40-
Although `ncfb` and `nofb` are supported `cfb` and `ofb` are not. Further, mcrypt_compat's `ncfb` implementation has some incompatibles with mcrypt's implementation where `mcrypt_generic` and `mdecrypt_generic` are concerned. The unit tests elaborate.
48+
Although `ncfb` and `nofb` are supported `cfb` and `ofb` are not. Further, mcrypt_compat's `ncfb` implementation has some incompatibles with mcrypt's implementation where `mcrypt_generic` and `mdecrypt_generic` are concerned. The unit tests elaborate.

0 commit comments

Comments
 (0)