-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
24 lines (21 loc) · 726 Bytes
/
Copy pathProgram.cs
File metadata and controls
24 lines (21 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Vault
{
class Program
{
static void Main(string[] args)
{
string s_passPhrase = StringCipher.GeneratePassPhrase("PlayerData");
string saveFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "My Games", "Fallout Shelter");
string filePath = Path.Combine(saveFolder, "Vault" + (1).ToString() + ".sav");
string vault = File.ReadAllText(filePath);
string decrypted = StringCipher.Decrypt(vault, s_passPhrase);
}
}
}