I want to hand ES2 a key that I move around as bytes. My plan was to convert it to an ASCII string. So, my question is: are there any limitations on the ASCII character range than can be in the password "string" (besides 0x0)? I want to be able to use 0x01-0xff.
Thanks!
Encryption Password "String"
Re: Encryption Password "String"
Hi there,
Easy Save uses C#'s encryption libraries, which simply convert the password to a byte array underneath, so the actual characters of the string should not matter. All that matters is that the string is identical each time.
All the best,
Joel
Easy Save uses C#'s encryption libraries, which simply convert the password to a byte array underneath, so the actual characters of the string should not matter. All that matters is that the string is identical each time.
All the best,
Joel
Re: Encryption Password "String"
Thanks, Joel. Makes sense. What are you using for the IV?
Re: Encryption Password "String"
In Easy Save 2, Rfc2898DeriveBytes is used to get a pseudo-random 16-byte array based on the password and salt.
In Easy Save 3, AES.GenerateIV() is used to generate a random IV.
All the best,
Joel
In Easy Save 3, AES.GenerateIV() is used to generate a random IV.
All the best,
Joel