Download the PHP package mister-marvin/yii2-rsa without Composer
On this page you can find all versions of the php package mister-marvin/yii2-rsa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mister-marvin/yii2-rsa
More information about mister-marvin/yii2-rsa
Files in mister-marvin/yii2-rsa
Download mister-marvin/yii2-rsa
More information about mister-marvin/yii2-rsa
Files in mister-marvin/yii2-rsa
Please rate this library. Is it a good library?
Informations about the package yii2-rsa
yii2-rsa
rsa
getKey:
$rsa = Yii::$app->rsa;
$k = $rsa->generateKey();
print_r($k['public_key']);
print_r($k['private_key']);
config:
'components' => [
'rsa'=>[
'class' => 'mistermarvin\rsa\Rsa',
'public_key' => $params['rsa']['publicKey'],
'private_key' => $params['rsa']['privateKey'],
],
....
]
use:
$rsa = Yii::$app->rsa;
$data = $rsa->encrypt('hello rsa');
echo $rsa->decrypt($data);
All versions of yii2-rsa with dependencies
PHP Build Version
Package Version
The package mister-marvin/yii2-rsa contains the following files
Loading the files please wait ....