PHP code example of erlangparasu / php-rsa
1. Go to this page and download the library: Download erlangparasu/php-rsa library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
erlangparasu / php-rsa example snippets
_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);