Esempio n. 1
0
 internal static JObject Decrypt(JToken json, Keychain keychain)
 {
     return(JObject.Parse(keychain.Decrypt(Encrypted.Parse(json)).ToUtf8()));
 }
Esempio n. 2
0
 internal static JObject Decrypt(JToken json, AesKey sessionKey)
 {
     return(JObject.Parse(sessionKey.Decrypt(Encrypted.Parse(json)).ToUtf8()));
 }