2017 © Pedro Peláez
 

library encryption

Another Encryption utility

image

aufa/encryption

Another Encryption utility

  • Friday, August 12, 2016
  • by aufa
  • Repository
  • 3 Watchers
  • 3 Stars
  • 121 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Aufa Encryption

Another Encryption Helper, (*1)

Build Status, (*2)

Encrypt string or another type of value to encryption. by default encryption use mcrypt with: MCRYPT_RIJNDAEL_256 + MCRYPT_MODE_ECB and another encryption using alternative of str_rot13 and encoded by base64_encode, (*3)

Encryption

/**
 * Using default encryption mcrypt
 */
Aufa\Encryption\Encryption::encrypt('string to encrypt', 'saltkey');

/**
 * Using alternative type
 */
Aufa\Encryption\Encryption::altEncrypt('string to encrypt', 'saltkey');

Decryption

/**
 * Decrypt encrypted string with auto detect encryption use
 */
Aufa\Encryption\Encryption::decrypt('string to decrypt', 'saltkey');

// or can use
Aufa\Encryption\Encryption::altDecrypt('string to decrypt', 'saltkey');

Install Using Composer

Composer is handy tool for adding library easily from packagist and another resource to your application. Get Install on here : https://getcomposer.org and install on your OS., (*4)

{
  "require": {
        "aufa/encryption" : "~1"
  }
}

Requirements

This library require php 5.3.2 or later. Suggest to enable mcrypt on your php configuration., (*5)

License

GPLv3 or later https://www.gnu.org/licenses/gpl-3.0.txt, (*6)

The Versions

12/08 2016

dev-master

9999999-dev http://www.nwm.co.id/

Another Encryption utility

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3.0

 

The Development Requires

library utility encryption

12/08 2016

1.0

1.0.0.0 http://www.nwm.co.id/

Another Encryption utility

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3.0

 

The Development Requires

library utility encryption