2017 © Pedro Peláez
 

library cipher

Encrypts/decrypts text with RIJNDAEL 256 Cipher

image

websoftwares/cipher

Encrypts/decrypts text with RIJNDAEL 256 Cipher

  • Sunday, March 31, 2013
  • by Websoftwares
  • Repository
  • 0 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Cipher

Encrypts/decrypts text with RIJNDAEL 256 Cipher., (*1)

Build Status, (*2)

Usage

    $securekey = '4s05Gim69k6Cn7E4Wl03cEI5v9K49l95';

    $size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CFB);
    $iv = mcrypt_create_iv($size, MCRYPT_DEV_URANDOM);

    $cipher = new Cipher($securekey, $iv);

    $encrypted = $cipher->encrypt('MySuperSecretText');
    $decrypted = $cipher->decrypt($encrypted);

    echo $decrypted;

The Versions

31/03 2013

dev-master

9999999-dev

Encrypts/decrypts text with RIJNDAEL 256 Cipher

  Sources   Download

dbad

The Requires

  • php >=5.3.0

 

by Boris Verhaaff

security encryption