Unicode Encryption

cforbes's picture

Hi All - my first post on ywamit. 

As I'm the process of switching some of the content of ywam.org over to handle mult-languages ie Unicode.  I've run into a bit of a problem.  I'm using the RC4 aka RCFour in vb to encrypt/decrypt my pws however Unicode is posing a bit of a challange.  I convered rc4 code over to handle the wide character set but I'm getting very strange results.  Most text encrypts/decrypts ok however some text a character or two is corupted.  Does any one have any suggestions on good reversible encryption method that would work well with plain text and unicode, is scriptable in ASP (vb)? 

If any one has had experience good or bad in this area I would love to hear it as my only options so far seem to be
1.  Store the pws in open text
2.  Not be albe to fully recover them.

Blessings,
Colin