/// <summary> /// Gets string quoteId from hashed quote id /// </summary> /// <param name="hashedQuoteId"></param> /// <returns></returns> public static string GetDeHashedKey(string value) { if (!string.IsNullOrEmpty(value)) { return(HashingUtility.Base64Decode(value)); } return(string.Empty); }
/// <summary> /// Gets Hashed QuoteId for given quote Id /// </summary> /// <param name="quoteId"></param> /// <returns></returns> public static string GetHashedValue(string key) { if (!string.IsNullOrEmpty(key)) { return(HashingUtility.Base64Encode(key)); } return(string.Empty); }