BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:01/08/2007: PHP Encryption Class
X-WR-CALDESC:Here&#8217;s a simple PHP library for encoding and decoding text.  Examples:    &lt;?php $trivialencoder_auto&nbsp;=&nbsp;FALSE; include&nbsp;'TrivialEncoder.class.php';  $manager&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;new&nbsp;TrivialEncoderManager; $plaintext&nbsp;&nbsp;=&nbsp;'Hello&nbsp;world'; //&nbsp;Chain&nbsp;together&nbsp;Triple&nbsp;DES,&nbsp;Memfrob&nbsp;and&nbsp;Base64&nbsp;encoding. //&nbsp;Note:&nbsp;3DES&nbsp;encoding&nbsp;is&nbsp;passed&nbsp;an&nbsp;(optional)&nbsp;key&nbsp;"mysecretkey". $encoding&nbsp;&nbsp;=&nbsp;'3des&nbsp;mysecretkey;memfrob;base64'; $cyphertext&nbsp;=&nbsp;$manager-&gt;encode($encoding,&nbsp;$plaintext); echo&nbsp;$manager-&gt;decode($encoding,&nbsp;$cyphertext);&nbsp;//&nbsp;Hello&nbsp;world ?&gt; 
BEGIN:VJOURNAL
DTSTART:20071103T070332Z
DTEND:20071103T070332Z
URL:http://tobyinkster.co.ukhttp://tobyinkster.co.uk/blog/2007/08/01/php-encryption-class/comments#comment1
SUMMARY:Comment 001
CATEGORIES:
STATUS:NEEDS-ACTION
END:VJOURNAL
END:VCALENDAR
