Encrypt/Decrypt and convert strings in WriteFile/ReadFile