Cinema AES class - platform independent?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/04/2010 at 10:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ; Mac ;
Language(s) : C++ ;---------
I'm trying to get AES keys to work cross platform with the Cinema AES class.It looks like the encrypted data would be identical though. Any idea what's going on there?
I'm converting the input strings with StUTF8, but the key is static...Any hints are appreciated!
Kabe
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/04/2010 at 01:10, xxxxxxxx wrote:
Okay, issue resolved. Take care not to use literal strings like "password" as a key. They work, but they create different results on Mac and Windows. Convert to a CString with GetCString(...).