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,063 All time: 112 This week: 35Up
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  
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Egypt Egypt
Age: 49
All time rank: 481 in Egypt Egypt
Week rank: 214 Down2 in Egypt Egypt Down
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

  Files folder image Files (25)  /  images  
File Role Description
  Accessible without login Image file alpha.png Icon Image
  Accessible without login Image file Append.gif Icon Image
  Accessible without login Image file Decrypt_with_pri.gif Icon Image
  Accessible without login Image file Decrypt_with_pub.gif Icon Image
  Accessible without login Image file Encrypt_with_pri.gif Icon Image
  Accessible without login Image file Encrypt_with_pub.gif Icon Image
  Accessible without login Image file face1.gif Icon Image
  Accessible without login Image file face2.gif Icon Image
  Accessible without login Image file face3.gif Icon Image
  Accessible without login Image file face4.gif Icon Image
  Accessible without login Image file greenkey.gif Icon Image
  Accessible without login Image file hash.gif Icon Image
  Accessible without login Image file Message_digest.gif Icon Image
  Accessible without login Image file redkey.gif Icon Image
  Accessible without login Image file shadow.gif Icon Image
  Accessible without login Image file signature.gif Icon Image
  Accessible without login Image file signed_text.gif Icon Image
  Accessible without login Image file text.gif Icon Image
  Accessible without login Image file thumb.jpg Icon Image
  Accessible without login Image file trans_half_inch.gif Icon Image

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,063
This week:0
All time:112
This week:35Up
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:886