PHP Classes

RSA: Encrypt and decrypt data with RSA public keys

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 11,064 All time: 112 This week: 67Up
Version License PHP version Categories
rsa 1.0GNU General Publi...5.0PHP 5, Cryptography
Description 

Author

This class is a pure PHP implementation of the RSA public key encryption algorithm.

It can generate the public and private keys from two prime numbers.

The public key should be used to encrypt the data. Only the private key can be used to decrypt the data encrypted with the public key.

It has also digital signature functionality.

Innovation Award
PHP Programming Innovation award nominee
September 2007
Number 7
RSA is a very important encryption algorithm. It allows securely transmitting data encrypted with a private key that can only be decrypted with a public key.

There is class provides a pure PHP implementation of the RSA encryption algorithm, thus without relying on any PHP cryptography extensions.

Manuel Lemos
Picture of Khaled Al-Shamaa
  Performance   Level  
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

 

Recommendations

i want to learn more about that technic
wanna know to use the classes of that kind of incryption

  Files folder image Files (25)  
File Role Description
Files folder imageimages (20 files)
Accessible without login HTML file about.html Doc. Documentation
Accessible without login HTML file DigitalSignature.html Doc. Documentation
Accessible without login Plain text file example.php Example Example script
Plain text file rsa.class.php Class Class file
Accessible without login Plain text file style.css Data CSS

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:11,064
This week:0
All time:112
This week:67Up
User Ratings User Comments (6)
 All time
Utility:81%StarStarStarStarStar
Consistency:77%StarStarStarStar
Documentation:67%StarStarStarStar
Examples:76%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:894