The variable encodedCyphertext will then hold a value like . This value then will get sent to another environment where they use vbscript and an encryption dll. Honestly the problem I'm having is on the vbscript side, I can't seem to get the encoded cyphertext to come out as its plaintext original. I'm wondering if anybody has had luck doing this? The dll I'm using is Midori Crypt ActiveX component v1.1, Thanks.