/// <summary> /// Decrypts the string. /// </summary> /// <param name="encryptedJson">The encrypted json.</param> /// <returns></returns> private static string DecryptString(string encryptedJson) { return(Encrypter.Decrypt(encryptedJson, ENCRYPTION_KEY)); }
/// <summary> /// Encrypts the string. /// </summary> /// <param name="jsonToEncrypt">The json to encrypt.</param> /// <returns></returns> private static string EncryptString(string jsonToEncrypt) { return(Encrypter.Encrypt(jsonToEncrypt, ENCRYPTION_KEY)); }