pub fn decrypt(
    encrypted_history: &EncryptedHistory,
    key: &Key
) -> Result<History>