EncryptSavedata() supports predefined iv
fixed indent (part1)