integrity
The guarantee that data has not been changed, by accident or on purpose, since it was created or sent.
In more detail
Hashes detect accidental changes; HMACs, signatures and authentication tags also detect deliberate ones. Integrity is one of the three basic goals of information security, with confidentiality and availability.
Related terms
- hash — A short fixed-length fingerprint calculated from data, which changes completely if even one byte of the data changes.
- HMAC — A way of combining a secret key with a hash function to produce a tag that shows a message came from someone holding the key and was not changed.
- authentication tag — A short value, 16 bytes for AES-GCM, produced with the ciphertext that lets the receiver check nothing was changed.
Taught in
- Cryptographic Primitives: node:crypto & Ciphers — Node.js Internals & Backend Services