Ejemplo n.º 1
0
 public static T JsonDecrypt <T>(this RSACryptoServiceProvider provider, byte[] buffer, Encoding encoding = null, JsonSerializerSettings settings = null)
 {
     return(provider
            .DecryptString(buffer, encoding)
            .DeserializeJson <T>(settings));
 }