This content has been marked as final. Show 3 replies
ok let me re ask this question in a more general manner, maybe someone can asnwer.
Has anyone ever encrypted something in another language and decrypted it with coldfusion, or has anyone encrypted something in coldfusion and sucessfully decrypted it in another language?
> I am able to encrypt and decypt in CF, even using, Salt, IV, Iterations,
> encoding in Hex, Base64,UU..this all works, but only if the encrypting and
> decrypting is done in CF.
> Once I Encrypt in another language for instance .NET, have tried a few other
> open source DLL's out there as well, Coldfusion cant encrypt it. I get
> messages like Input string isnt the same encoding as output string, Given final
> block not properly padded or byte array cannot be converted to string.
> As well Vice versa...if I encrypt in CF, I cant Decrypt in anything else.
> Its as if CF is using is using some real off the wall defaults I cant figure
> out and no other language can decrypt. For the most part other languages
> encrypt in bytes and then convert to Base64 for storage.
> Any ideas?
It is way over my head, but I found this technote that gives more
detailed usage information CF's (the latest version) encrypt and decrypt
functions. I see several headings talking about what to do to help CF
work with other software.
Thanks. Ya I saw the technote also. Unfortunately the technote doesnt address interoperability in detail. It just kind of says it can be done , gives the possible tags to use and thats about it.