public static string Decrypt(string encryptedString) { return((string)LosSerializer.Deserialize(encryptedString, true)); }
/// <summary> /// Deserializes a resource key using LosFormatter. /// </summary> /// <remarks> /// The resource keys need to be serialized as they can be arbitrary objects. /// </remarks> /// <param name="key">The key to deserialize.</param> /// <returns>The deserialized key.</returns> private object DeserializeResourceKey(string key) { return(LosSerializer.Deserialize(key)); }