public static void ExportEncryptBinary(byte[] bytes, string exportPath) { using (var baseStream = File.Create(exportPath)) using (var cryptStream = new SeekableAesStream(baseStream, Password, UniqueSalt)) { cryptStream.Write(bytes, 0, bytes.Length); } }