Hardware security modules (HSMs)
An HSM is a specialised, hardened device that stores keys and does cryptography inside itself. The keys never leave. If someone tries to open or probe it, it wipes itself.
A bank vault with a hatch. You pass in documents to be stamped, but nobody can ever take the stamp out.
Why it matters
Banks, card schemes, certificate authorities and cloud providers rely on HSMs to protect the keys that everything else depends on.
In plain words
An HSM is a specialised, hardened device that stores keys and does cryptography inside itself. The keys never leave. If someone tries to open or probe it, it wipes itself.
Think of it like this
A bank vault with a hatch. You pass in documents to be stamped, but nobody can ever take the stamp out.
Why it matters
Banks, card schemes, certificate authorities and cloud providers rely on HSMs to protect the keys that everything else depends on.
Where you meet it
Behind every card payment and PIN check, and inside cloud key services. Your phone has a small version (Apple's Secure Enclave, Google's Titan M chip in Pixel phones, and the StrongBox security chips in other Android phones).
More diagrams: What happens when you tap your card · How a side-channel attack steals a key
Go deeper history and technical detail
HSMs are certified to standards such as FIPS 140-3. Payment HSMs follow extra card-industry rules (PCI PTS HSM). Cloud providers rent access to HSM-backed key management services. Upgrading the HSM estate is one of the slow, expensive parts of moving to post-quantum algorithms.
Related terms
Cite this page Encryption Observer, “Hardware security modules (HSMs)”, encryption.observer/terms/hsm/, checked December 2026.