RSS Element,demiblog Class,Language,Link,Title,Description channel,,en_GB,http://tobyinkster.co.uk/blog/2007/08/01/php-encryption-class/,01/08/2007: PHP Encryption Class,"
Here’s a simple PHP library for encoding and decoding text.
Examples:
<?php $trivialencoder_auto = FALSE; include 'TrivialEncoder.class.php'; $manager = new TrivialEncoderManager; $plaintext = 'Hello world'; // Chain together Triple DES, Memfrob and Base64 encoding. // Note: 3DES encoding is passed an (optional) key ""mysecretkey"". $encoding = '3des mysecretkey;memfrob;base64'; $cyphertext = $manager->encode($encoding, $plaintext); echo $manager->decode($encoding, $cyphertext); // Hello world ?> "
item,,http://tobyinkster.co.ukhttp://tobyinkster.co.uk/blog/2007/08/01/php-encryption-class/comments#comment1,Comment 001,"joekinoc [URL=http://wspgjdbn.com]iseeytwt[/URL] minacdil http://oudweqzw.com ytjgeeed nfnfpwhp
"