mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-04 10:38:19 +01:00
3cb0248f99
To accomodate this decrypt() can no longer return false. If padding is enabled and the padding length is invalid (the only condition under which false was returned) an InvalidInputException will be thrown. Also, previously, when encrypting, if the padding was disabled and the plaintext wasn't a multiple of the block size a E_USER_NOTICE would be issued via user_error() and then padding would be enabled. Now it's not enabled - an exception is thrown suggesting that you might want to enable padding and that's that. |
||
---|---|---|
build | ||
phpseclib | ||
tests | ||
travis | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
composer.json | ||
composer.lock | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md |
phpseclib - PHP Secure Communications Library
MIT-licensed pure-PHP implementations of an arbitrary-precision integer arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)Documentation
- Documentation / Manual
- API Documentation (generated by Sami)
Support
Need Support?
- Checkout Questions and Answers on Stack Overflow
- Create a Support Ticket on GitHub
- Browse the Support Forum (no longer in use)
Installing Development Dependencies
Dependencies are managed via Composer.
-
Download the
composer.phar
executable as per the Composer Download Instructions, e.g. by runningcurl -sS https://getcomposer.org/installer | php
-
Install Dependencies
php composer.phar install --dev
Contributing
-
Fork the Project
-
Install Development Dependencies
-
Create a Feature Branch
-
(Recommended) Run the Test Suite
vendor/bin/phpunit
-
(Recommended) Check whether your code conforms to our Coding Standards by running
vendor/bin/phing -f build/build.xml sniff
-
Send us a Pull Request