mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01:00
Andreas Fischer
f807d8799e
Merge pull request #370 from terrafrost/pkcs8
RSA: add support for PKCS8 encoded private keys * terrafrost/pkcs8: Crypt/Base: readability improvement RSA: CS adjustments RSA: rename PUBLIC_FORMAT_PKCS1_RAW -> PUBLIC_FORMAT_PKCS8 RSA: add PKCS8 unit tests RSA: add support for saving encrypted PKCS8 keys Crypt/Base: adjust default key size for pbkdf1 RSA: add support for loading PKCS8 encrypted private keys Crypt/Base: add support for pbkdf1 RSA: add support for saving to PKCS8 (unencrypted)
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)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
Languages
PHP
99.9%
Shell
0.1%