2017 © Pedro Peláez
 

library rsacrypt

Data encryption using public and private keys.

image

dmamontov/rsacrypt

Data encryption using public and private keys.

  • Friday, June 19, 2015
  • by dmamontov
  • Repository
  • 1 Watchers
  • 1 Stars
  • 113 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

Build Status Latest Stable Version License Total Downloads PHP Classes, (*1)

RSA Crypt

This class can RSA generate keys and encrypt data using OpenSSL., (*2)

It can generate public and private RSA keys of given length calling the openssl program., (*3)

The class and also encrypt data with a given public key file and decrypt data with a given private key file., (*4)

More information, (*5)

Requirements

  • PHP version ~5.3.3

Installation

1) Install composer, (*6)

2) Follow in the project folder:, (*7)

composer require dmamontov/rsacrypt ~1.0.2

In config composer.json your project will be added to the library dmamontov/rsacrypt, who settled in the folder vendor/. In the absence of a config file or folder with vendors they will be created., (*8)

If before your project is not used composer, connect the startup file vendors. To do this, enter the code in the project:, (*9)

require 'path/to/vendor/autoload.php';

Example of work

$crypt = new RsaCrypt;

$crypt->genKeys(2048);
$crypt->setPublicKey('public.pem');
$crypt->setPrivateKey('private.pem');
$data = $crypt->encrypt("Test Crypt");

echo $data;
echo $crypt->decrypt($data);

The Versions

19/06 2015

dev-master

9999999-dev http://www.slobel.ru/

Data encryption using public and private keys.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

by Dmitry Mamontov

data openssl crypt private public

10/06 2015

1.0.2

1.0.2.0 http://www.slobel.ru/

Data encryption using public and private keys.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

by Dmitry Mamontov

data openssl crypt private public

10/06 2015

1.0.1

1.0.1.0 http://www.slobel.ru/

Data encryption using public and private keys.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

data openssl crypt private public

29/05 2015

1.0.0

1.0.0.0 http://www.slobel.ru/

Data encryption using public and private keys.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

data openssl crypt private public