Beispiel #1
0
 public static string DecryptFromBase64(string data, string key)
 {
     return(HashManager.ToString(DecryptRaw(HashManager.FromBase64(data), HashManager.ToByteArray(key))));
 }
Beispiel #2
0
 public static string DecryptFromHex(string data, string privateKey)
 {
     return(HashManager.ToString(DecryptRaw(HashManager.FromHex(data), privateKey)));
 }