PHP Classes

bug ?

Recommend this page to a friend!

      Perfect Crypt Class  >  All threads  >  bug ?  >  (Un) Subscribe thread alerts  
Subject:bug ?
Summary:problems with different characters.
Messages:1
Author:Bendikt Martin Myklebust
Date:2009-08-10 01:18:29
 

  1. bug ?   Reply   Report abuse  
Picture of Bendikt Martin Myklebust Bendikt Martin Myklebust - 2009-08-10 01:18:29
First off, love this class, great for cross-domain programming.
i have been "encountering" some weird behavior wit this class.

i recently used this for a project and the main problem that's been bugging
me for weeks now, is that some chars mess up the decryption.

chars like ` and '

the problem started when i needed to apply two layered encryption.

Some times it even reacted on string length but only when those two chars are in the string.

I have actually read the book you based your algorithm on, and i could not find any indication that this actually would be any problem.

i used your class for encryption of cross-domain data.

Other than that i love this class.