Skip to content

erlangparasu/php-rsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP RSA

Features:

  • create public & private key
  • encrypt & decrypt
  • encrypt long text
  • decrypt long text

Provide Methods:

_create_rsa($path_private_key, $path_public_key);

_encrypt_rsa($public_key, $text);

_decrypt_rsa($private_key, $encrypted_text);

_big_encrypt_rsa($public_key, $text);

_big_decrypt_rsa($private_key, $encrypted_text);

References:

How to encrypt data in php using Public/Private keys? https://stackoverflow.com/questions/4629537/how-to-encrypt-data-in-php-using-public-private-keys/35289156#35289156

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages