2017 © Pedro Peláez
 

library simple-crypt

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels.

image

dorantor/simple-crypt

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels.

  • Wednesday, June 21, 2017
  • by dorantor
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,230 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 20 % Grown

The README.md

simple-crypt

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels., (*1)

Installation

composer require dorantor/simple-crypt

Usage

// 32 byte string as key
$key = md5('simple-crypt'); // 1b8ee2dc7723b2846792349dd4c74dc2
$crypt = new \Dorantor\SimpleCrypt($key);

$eMessage = $crypt->encrypt('Secret message that should be read only by trusted ones');

// ...

$oMessage = $crypt->decrypt($eMessage);

License

The library is released under the MIT License. See the bundled LICENSE file for details., (*2)

The Versions

21/06 2017

dev-master

9999999-dev https://github.com/dorantor/simple-crypt/

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels.

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-openssl *

 

openssl cipher symmetric

21/06 2017

v1.0.1

1.0.1.0 https://github.com/dorantor/simple-crypt/

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels.

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-openssl *

 

openssl cipher symmetric

21/06 2017

v1.0.0

1.0.0.0 https://github.com/dorantor/simple-crypt/

Very simple lib for symmetric en/decrypt messages so they could be sent through untrusted channels.

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0
  • ext-openssl *

 

openssl cipher symmetric