IV, password in bytes when using TAESEncryption

I want to use the TAESEncryption with Encrypt/decrypt stream and I have custom IV and Passwords.
Both IV, password is created with hashing and they are saved in Tbytes or Bytearray
In TAESEncryption, only strings are used to provide IV,password.
I was thinking of using the following to transform it:


An alternative could be:


Which of the above do you propose for multiple platforms use?
Is it possible to avoid all these string conversions?
Thank you in advance

I have not read till the end the documentation..... Using the Tconvert it works.
I apologize for the trouble

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.