DavidXanatos / DiskCryptor

A fork of the DiskCryptor full disk encryption tool
https://www.diskcryptor.org/
431 stars 100 forks source link

fixed password size in AutoPassword #109

Open artyomsoft opened 6 days ago

artyomsoft commented 6 days ago

The AutoPassword feature does not work as expected because of the incorrect size of the password string. We must multiply the string length by 2 because the size is in the number of bytes occupied by the characters of the string, and the gDCryptAutoPassword encoding is UTF16-LE.