kritbit

kritbit Git Source Tree


Root/scripts/aes.php

1
2
3
4
5
6
7
<?php
$key = 'MyKey';
$text = 'test';
$output = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $text, MCRYPT_MODE_ECB);
$encoded = base64_encode($output);
echo $encoded;

Archive Download this file

Branches

Number of commits:
Page rendered in 0.28039s using 11 queries.