Login   Register  
PHP Classes
elePHPant
Icontem

File: docs/ej3.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jose Manuel Busto  >  AES 128  >  docs/ej3.php  >  Download  
File: docs/ej3.php
Role: Example script
Content type: text/plain
Description: Example of use
Class: AES 128
A pure PHP AES 128 encryption implementation
Author: By
Last change:
Date: 7 years ago
Size: 183 bytes
 

Contents

Class file image Download
<?PHP
require_once('../AES128.php');
$aes=new AES128(true);
$key=$aes->makeKey("0123456789abcdef");
$ct=$aes->blockEncrypt("0123456789abcdef"$key);
echo(
"CipherText: $ct");
?>