Beispiel #1
0
 public JsonContent(object obj) : base(AesCrypto.EncryptRijndael(JsonConvert.SerializeObject(obj), Startup.Configuration.GetValue <string>("CryptoSalt")), Encoding.UTF8, "application/json")
 {
 }
Beispiel #2
0
 public JsonContent(object obj) : base(AesCrypto.EncryptRijndael(JsonConvert.SerializeObject(obj), Constants.Salt), Encoding.UTF8, "application/json")
 {
 }