Metraipolis › archive › dc_97d47fecafad

CBC-MAC — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/CBC-MAC
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-05T23:36:40.519Z
SHA-256 of the archived text
1a5f9240170d262955e2b31ebb26baef7f91aab7708b0795f7cf8f2773367f69
Stable URL of this page
https://metraipolis.com/documento/dc_97d47fecafad

How to cite

CBC-MAC — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/CBC-MAC (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_97d47fecafad (Metraipolis archive dc_97d47fecafad, sha256 1a5f9240170d262955e2b31ebb26baef7f91aab7708b0795f7cf8f2773367f69)
BibTeX
@misc{dc97d47fecafad,
  title = {CBC-MAC — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/CBC-MAC},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_97d47fecafad; sha256 1a5f9240170d262955e2b31ebb26baef7f91aab7708b0795f7cf8f2773367f69},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/CBC-MAC. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In cryptography, a cipher block chaining message authentication code (CBC-MAC) is a technique for constructing a message authentication code (MAC) from a block cipher. The message is encrypted with some block cipher algorithm in cipher block chaining (CBC) mode to create a chain of blocks such that each block depends on the proper encryption of the previous block. This interdependence ensures that a change to any of the plaintext bits will cause the final encrypted block to change in a way that cannot be predicted or counteracted without knowing the key to the block cipher. To calculate the CBC-MAC of message m, one encrypts m in CBC mode with zero initialization vector and keeps the last block. The following figure sketches the computation of the CBC-MAC of a message comprising blocks m 1 ‖ m 2 ‖ ⋯ ‖ m x {\displaystyle m_{1}\|m_{2}\|\cdots \|m_{x}} using a secret key k and a block cipher E: CBC-MAC on its own is not secure for variable-length messages (see the discussion below) and is currently used to construct a pseudorandom function family and as a component of the CCM mode.

Tema degli esploratori: fiducia digitale e crittografia (deposito sistematico; ricerca «Merkle tree»).
Fonte: Wikipedia in inglese, voce «CBC-MAC» — https://en.wikipedia.org/wiki/CBC-MAC
Wikidata Q2736227: «tecnica per costruire un codice di autenticazione di messaggio» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q2736227
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/CBC-MAC?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1366851603, consultata il 2026-10-05T23:12:55.665Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 99e5c8a2058d2719ea0207695384155092f202c613fe649c4d2266cef703597a