michin wrote:
> 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.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e546373d
HTH