{
  "slug": "cryptographic-erase",
  "term": "Cryptographic erase",
  "aliases": [
    "Crypto erase",
    "CE"
  ],
  "definition": "Cryptographic erase sanitizes the keys protecting encrypted target data so that recovering the plaintext becomes infeasible.",
  "note": "This can sanitize access without rewriting every ciphertext block. It requires suitable cryptography and key management, coverage of the target data before sanitization, and sanitization of all copies of the target cryptographic keys. Deleting an account password is not automatically key sanitization. Sensitive plaintext stored since the last appropriate sanitization needs a different suitable treatment; encryption enabled only before disposal does not retroactively protect those remnants. NIST SP 800-88 Rev. 2 section 3.2.2 footnote 10 qualifies the prior-plaintext condition by the last appropriate sanitization. [nist-r2]\n\nSanitizing a wrapping or master key also requires eliminating lower-level keys and any previously unwrapped copies that remain usable, including copies in memory or encryption-engine registers; external key copies must be accounted for. [nist-r2]\n\nA saved LUKS header illustrates the distinction. An old valid credential can still recover its volume key after live keyslot changes or erasure. That retained recovery path must be included in the assessment; a live password rejection alone is insufficient evidence. [luks-backup-v270]\n\nA filesystem keyring status is narrower than this sanitization decision. Removing an fscrypt key can leave other users' claims or in-use file keys, and freed plaintext caches need not be wiped. [fscrypt-source]\n\nCommand scope: Identify which key level is sanitized. With several data-encryption keys, establish whether the selected command covers all required keys or needs additional actions. Key-storage failure reporting is part of this assessment. [nist-r2]",
  "status": "shipping",
  "advantages": [
    {
      "text": "Can avoid a full-media rewrite when its cryptographic prerequisites are satisfied.",
      "citationIds": [
        "nist-r2"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Backups or escrow copies of keys need separate assessment; ciphertext remains, so required long-term confidentiality also matters.",
      "citationIds": [
        "nist-r2"
      ]
    }
  ],
  "related": [
    "self-encrypting-drive",
    "sanitize-nvme",
    "data-sanitization",
    "secure-erase",
    "purge-sanitization",
    "sanitization-verification",
    "sanitization-validation",
    "luks-header-backup",
    "luks-keyslot",
    "fscrypt",
    "inline-encryption",
    "history-independence",
    "envelope-encryption",
    "key-rotation"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "nist-r2",
      "title": "NIST SP 800-88 Rev. 2 (2025), sections 3.2.3, 3.2.5 (items 4, 9-10) and 4.5",
      "url": "https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf",
      "accessed": "2026-11-10"
    },
    {
      "id": "hesela",
      "title": "Hesela: SSD sanitization: why TRIM and a successful command are not enough",
      "url": "https://hesela.com/analyses/ssd-sanitization-trim-evidence/",
      "accessed": "2026-10-10"
    },
    {
      "id": "luks-backup-v270",
      "title": "cryptsetup v2.7.0: header backup warning",
      "url": "https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksHeaderBackup.8.adoc",
      "accessed": "2026-10-21"
    },
    {
      "id": "fscrypt-source",
      "title": "Linux v6.12: fscrypt key removal and kernel-memory threat model",
      "url": "https://docs.kernel.org/6.12/filesystems/fscrypt.html",
      "accessed": "2026-10-22"
    }
  ],
  "updated": "2026-11-12"
}
