2017 © Pedro Peláez
 

yii2-extension yii2-rsa

Yii 2 Rsa

image

mister-marvin/yii2-rsa

Yii 2 Rsa

  • Thursday, January 18, 2018
  • by Mister-marvin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

yii2-rsa

rsa, (*1)

getKey:, (*2)

    $rsa = Yii::$app->rsa;
    $k = $rsa->generateKey();
    print_r($k['public_key']);
    print_r($k['private_key']);

config:, (*3)

'components' => [, (*4)

'rsa'=>[
        'class' => 'mistermarvin\rsa\Rsa',
        'public_key' => $params['rsa']['publicKey'],
        'private_key' => $params['rsa']['privateKey'],
],
....

], (*5)

use:, (*6)

$rsa = Yii::$app->rsa;
$data = $rsa->encrypt('hello rsa');
echo $rsa->decrypt($data);

The Versions

18/01 2018

dev-master

9999999-dev

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras

18/01 2018

v0.1.4

0.1.4.0

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras

18/01 2018

v0.1.0

0.1.0.0

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras

18/01 2018

v0.1.1

0.1.1.0

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras

18/01 2018

v0.1.2

0.1.2.0

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras

18/01 2018

v0.1.3

0.1.3.0

Yii 2 Rsa

  Sources   Download

MIT

The Requires

 

by Marvin

framework yii2 ras