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