RE: Tool to encrypt or decrypt log files
In extremely many cases...
Like I said, the password's characters should be handled as unicode, not as ascii. It isn't some small limitation that you can fix later. It is a very serious bug which will result in wrong (un)scrambled passwords and thus in wrong encryption/decryption (no matter if the original password is ascii or not).
eg: test your program with the (pure ascii) password "éééé" (=4 times 0xE9) and you'll see. The scrambled new password is not "ÒÒÒÒ" (=4 times 0xD2), like it is in your current tool, but should be a unicode string containing 4 times the unicode character 0x01D2.
This post was edited on 01-18-2006 at 07:01 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|