anonym.legal
Back to BlogTechnical

Reversible vs. Permanent: Why Your Redaction Tool Choice Matters

GDPR distinguishes anonymization from pseudonymization. Courts require original documents. Research needs re-identification. Learn when to use each approach.

February 27, 20267 min read
redactionencryptionpseudonymizationGDPRe-discovery

The Redaction Decision

When protecting sensitive data, you face a fundamental choice:

Permanent redaction: Data is irreversibly removed. No recovery possible.

Reversible encryption: Data is encrypted. Can be decrypted with proper authorization.

This choice has implications for compliance, legal discovery, research, and audits. Choose wrong, and you may find yourself unable to comply with court orders or regulatory requests.

GDPR: Anonymization vs. Pseudonymization

GDPR explicitly distinguishes between two approaches:

Anonymization (Article 26)

Data that can no longer be attributed to a specific individual is not personal data. GDPR doesn't apply.

Requirements:

  • Irreversible (no re-identification possible)
  • No additional information can enable re-identification
  • Truly anonymous data is outside GDPR scope

Pseudonymization (Article 4(5))

Data where identifiers are replaced with tokens that can be reversed with additional information.

Key points:

  • Still considered personal data under GDPR
  • Counts as a security measure (Article 32)
  • Reduces risk in case of breach
  • Allows data processing for research (Article 89)
ApproachGDPR StatusReversibleUse Case
AnonymizationNot personal dataNoPublic datasets
PseudonymizationPersonal data (protected)YesInternal processing

Why Permanent Redaction Can Be Problematic

Courts can order production of un-redacted documents:

  • Privilege claims may be challenged
  • Judges may conduct in-camera review
  • Opposing counsel may dispute redactions
  • Appeals may require original evidence

If you've permanently deleted information, you cannot comply.

Real case: A law firm permanently redacted client names from documents. When the court questioned a privilege claim, they couldn't produce originals. Sanctions followed.

2. Regulatory Audits

Auditors may request complete records:

  • Financial audits require transaction details
  • Healthcare audits need patient records
  • GDPR audits may examine processing activities

"We permanently deleted that information" is rarely an acceptable answer.

3. Research Re-identification

Longitudinal studies require linking data over time:

  • Medical research tracking patient outcomes
  • Academic studies with follow-up phases
  • Quality improvement requiring trend analysis

Permanent anonymization prevents legitimate research.

4. Business Needs

Organizations often need to reverse redactions:

  • Clients request their original documents
  • Internal reviews need complete information
  • Business decisions require full context

When to Use Each Approach

Use Permanent Redaction When:

ScenarioExample
Public releaseOpen data initiatives
No re-identification needPublished statistics
Required by regulationCertain breach notifications
Storage minimizationData you shouldn't keep

Use Reversible Encryption When:

ScenarioExample
Legal discoveryE-discovery productions
Internal processingAnalytics, reporting
ResearchLongitudinal studies
Client servicesDocument management
Audit preparationCompliance evidence

How Reversible Encryption Works

anonym.legal uses AES-256-GCM encryption for reversible redaction:

Encryption Process

Original: "John Smith, SSN 123-45-6789"
    ↓
[Detect PII]
    ↓
Entities: PERSON("John Smith"), SSN("123-45-6789")
    ↓
[Generate encryption key]
    ↓
[Encrypt each entity]
    ↓
Output: "[PERSON_abc123], SSN [SSN_def456]"

Decryption Process

Input: "[PERSON_abc123], SSN [SSN_def456]"
    ↓
[Load encryption key]
    ↓
[Decrypt tokens]
    ↓
Output: "John Smith, SSN 123-45-6789"

Key Security

The encryption key is:

  • Generated client-side using CSPRNG
  • Never transmitted to anonym.legal servers
  • Stored in your encrypted key vault
  • Protected by your authentication

Without the key, decryption is mathematically impossible.

Competitor Comparison

ToolReversibleKey ManagementAudit Trail
Amazon ComprehendNoN/ALimited
Microsoft PresidioNoN/ANo
Private AINoN/ALimited
Google DLPNoN/AYes
anonym.legalYesClient-sideYes

Most tools only offer permanent redaction. This limits their utility for legal, research, and compliance use cases.

Implementation Guide

Step 1: Classify Your Use Case

Ask yourself:

  • Will I ever need the original data back?
  • Could a court order production of originals?
  • Does research require re-identification?
  • Do auditors need complete records?

If any answer is "yes" → use reversible encryption.

Step 2: Configure Operators

In anonym.legal, choose your approach per entity type:

Entity TypeOperatorResult
PERSONencrypt[PERSON_abc123]
SSNmask*--6789
EMAILreplace[EMAIL_1]
CREDIT_CARDredact[REDACTED]

Mix approaches based on your needs.

Step 3: Manage Keys

For reversible encryption:

  1. Generate key during first encryption
  2. Store key securely (anonym.legal vault or export)
  3. Document which key protects which documents
  4. Control key access (who can decrypt?)

Step 4: Maintain Audit Trail

anonym.legal logs:

  • What was encrypted/redacted
  • When processing occurred
  • Which entities were detected
  • Configuration used

This supports compliance evidence requirements.

A law firm producing documents in litigation:

Without Reversible Encryption

  1. Permanently redact privileged information
  2. Produce documents to opposing counsel
  3. Court challenges privilege claim
  4. Cannot produce originals
  5. Possible sanctions

With anonym.legal

  1. Encrypt privileged information (reversible)
  2. Produce encrypted version
  3. Court challenges privilege claim
  4. Decrypt and submit for in-camera review
  5. Court rules on privilege
  6. Produce appropriate version

The key difference: you maintain control and can comply with any court order.

Pricing for Enterprise Needs

Reversible encryption is included in all plans:

PlanTokens/monthKey VaultsPrice
Free2001€0
Basic2,0001€3/month
Pro10,0003€15/month
Business50,00010€29/month
EnterpriseCustomUnlimitedContact

Conclusion

The choice between permanent and reversible redaction isn't just technical—it has real implications for:

  • Court compliance
  • Regulatory audits
  • Research capabilities
  • Business flexibility

Most tools only offer permanent redaction, limiting your options when circumstances change.

anonym.legal provides both:

  • Reversible encryption for most use cases
  • Permanent redaction when required

Choose the right approach for each situation:


Sources:

Ready to protect your data?

Start anonymizing PII with 285+ entity types across 48 languages.