I've tried it so many ways the code now looks like garbage. Off the top I'm having a problem as the PC's control says it's DES with a 16 byte key. Encryption rejects that off-hand saying DES requires an 8 byte key.
It's obviously tied up with this inconsistency with des, cbc, a bzip2 compression algorithm, rijndael, base64 encoding, sha1 hash algorithm, etc. I may have to resolve it in my web service and pass it back in a compatible format.
Any ideas would be great, I'll get it done one way or another.
Thanks