{
  "id": "2001/045",
  "url": "https://opencryptology.org/2001/045",
  "original_url": "https://eprint.iacr.org/2001/045",
  "title": "The order of encryption and authentication for protecting communications (Or: how secure is SSL?)",
  "authors": [
    "Hugo Krawczyk"
  ],
  "affiliations": null,
  "abstract": "We study the question of how to generically compose {\\em symmetric}\nencryption and authentication when building ``secure channels'' for\nthe protection of communications over insecure networks.\nWe show that any secure channels protocol designed to work with any combination\nof secure encryption (against chosen plaintext attacks) and secure MAC\nmust use the encrypt-then-authenticate method.\nWe demonstrate this by showing that the other common methods\nof composing encryption and authentication, including the\nauthenticate-then-encrypt method used in SSL, are not generically secure.\nWe show an example of an encryption function\nthat provides (Shannon's) perfect secrecy but when combined with\nany MAC function under the authenticate-then-encrypt method\nyields a totally insecure protocol (for example, finding passwords\nor credit card numbers transmitted under the protection of such protocol\nbecomes an easy task for an active attacker).\nThe same applies to the encrypt-and-authenticate method used in SSH.\n\nOn the positive side we show that the authenticate-then-encrypt method\nis secure if the encryption method in use is either CBC mode (with\nan underlying secure block cipher) or a stream cipher (that xor the\ndata with a random or pseudorandom pad).\nThus, while we show the generic security of SSL to be broken,\nthe current standard implementations of the protocol that use\nthe above modes of encryption are safe.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The order of encryption and authentication for protecting communications (Or: how secure is SSL?)” by Hugo Krawczyk, Cryptology ePrint Archive, Paper 2001/045, https://eprint.iacr.org/2001/045. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2001-06-06T18:28:48Z",
    "updated": "2001-06-06T18:28:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2001/045.pdf",
    "sha256": "034eb5740da61aacf447d3011a64b9e87922c901fc51943d8ae7093d3c32f38c",
    "size": 421935,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:04:03Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2001/045/versions/20190225T160403Z.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2001/045.pdf",
      "size": 421935,
      "sha256": "034eb5740da61aacf447d3011a64b9e87922c901fc51943d8ae7093d3c32f38c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2001/045.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "size": 421935
    }
  ],
  "bibtex": "@misc{cryptoeprint:2001/045,\n      author = {Hugo Krawczyk},\n      title = {The order of encryption and authentication for protecting communications (Or: how secure is SSL?)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2001/045},\n      year = {2001},\n      url = {https://eprint.iacr.org/2001/045}\n}"
}
