View Single Post
  #12 (permalink)  
Old 06-02-2008, 09:05 AM
agraham's Avatar
agraham agraham is online now
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,901
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by Arrie View Post
It appears when the original stringlength<6 everything works fine, but when it is 6 or more the abovementioned errormessage is shown.
That must be something in your code. Are you truncating the encrypted string somehow? If you download the Crypto example from here Basic4ppc - Windows Mobile programming and Pocket PC Development (use only the source file together with the latest libraries from the Basic4ppc Desktop\Libraries folder) and replace the key with your key it not only produces the samre results as your tests but aalso deals OK with strings longer than 6.
Reply With Quote