예제 #1
0
 public string GetData(string key)
 {
     return(EncryptionHandler.Decrypt(key, File.ReadAllBytes(Path)));
 }
예제 #2
0
 public void PutData(string key, string json)
 {
     File.WriteAllBytes(Path, EncryptionHandler.Encrypt(key, json));
 }