PHP Classes

File: docs/ej2.php

Recommend this page to a friend!
  Classes of Jose Manuel Busto   AES 128   docs/ej2.php   Download  
File: docs/ej2.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: 16 years ago
Size: 244 bytes


Class file image Download
$aes=new AES128();
$ct=$aes->blockEncrypt("0123456789abcdef", $key);
$cpt=$aes->blockDecrypt($ct, $key);
"CipherText: $ct <br/> PlainText: $cpt <br/>");