PHP code example of codecraft63 / certsign_login

1. Go to this page and download the library: Download codecraft63/certsign_login 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/ */

    

codecraft63 / certsign_login example snippets

 php
use Codecraft63\CertsignLogin\Encryptor;

$private_key = '__MY_PRIVATE_KEY_STRING__';

$encrypted_data = Encryptor::encrypt($plain_text_data, $private_key);