2017 © Pedro Peláez
 

library android-php-encrypt-decrypt

Encrypt / Decrypt for PHP

image

ryanannatuvasquez/android-php-encrypt-decrypt

Encrypt / Decrypt for PHP

  • Wednesday, May 13, 2015
  • by ryanannatuvasquez
  • Repository
  • 1 Watchers
  • 1 Stars
  • 327 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 73 Forks
  • 0 Open issues
  • 1 Versions
  • 1263 % Grown

The README.md

Encrypt / Decrypt for PHP, (*1)

Attention!

This was forked from serpro/Android-PHP-Encrypt-Decrypt., (*2)

What's New?

#

Installation

{
    "require": {
        "ryanannatuvasquez/android-php-encrypt-decrypt": "dev-master"
    }
}
#

Example

$mcrypt = new MCrypt();

$mcrypt->setKey($secretKey); // must be 16 bytes
$mcrypt->setIv($secretIv); // must be 16 bytes

/* Encrypt */
$encrypted = $mcrypt->encrypt("Text to encrypt");

/* Decrypt */
$decrypted = $mcrypt->decrypt($encrypted);

The Versions

13/05 2015

dev-master

9999999-dev

Encrypt / Decrypt for PHP

  Sources   Download

by Avatar ryanannatuvasquez