Hi
I once saw an error like that, when I erroneously called "EncryptString" on an encrypted string, instead of calling the right one "DecryptString"...
So I learned the hard way:
Encrypt -> Encrypt = Crashing with streamerrors...!
Just FYI
Regards Benny