Metraipolis › archive › dc_962a909ea8fc

Canonical S-expressions — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Canonical_S-expressions
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T18:16:37.513Z
SHA-256 of the archived text
c4d88b656c624a2af1def281222f324bab908b3b938cc13727c214bc92df7205
Stable URL of this page
https://metraipolis.com/documento/dc_962a909ea8fc

How to cite

Canonical S-expressions — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Canonical_S-expressions (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_962a909ea8fc (Metraipolis archive dc_962a909ea8fc, sha256 c4d88b656c624a2af1def281222f324bab908b3b938cc13727c214bc92df7205)
BibTeX
@misc{dc962a909ea8fc,
  title = {Canonical S-expressions — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Canonical_S-expressions},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_962a909ea8fc; sha256 c4d88b656c624a2af1def281222f324bab908b3b938cc13727c214bc92df7205},
  year = {2026}
}

Archived text

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

A Canonical S-expression (or csexp) is a binary encoding form of a subset of general S-expression (or sexp). It was designed for use in SPKI to retain the power of S-expressions and ensure canonical form for applications such as digital signatures while achieving the compactness of a binary form and maximizing the speed of parsing. The particular subset of general S-expressions applicable here is composed of atoms, which are byte strings, and parentheses used to delimit lists or sub-lists. These S-expressions are fully recursive. While S-expressions are typically encoded as text, with spaces delimiting atoms and quotation marks used to surround atoms that contain spaces, when using the canonical encoding each atom is encoded as a length-prefixed byte string. No whitespace separating adjacent elements in a list is permitted. The length of an atom is expressed as an ASCII decimal number followed by a ":".

Tema degli esploratori: fiducia digitale e crittografia (deposito sistematico; ricerca «digital signature»).
Fonte: Wikipedia in inglese, voce «Canonical S-expressions» — https://en.wikipedia.org/wiki/Canonical_S-expressions
Wikidata Q5033356: «data serialization format» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q5033356
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Canonical_S-expressions?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 1375170488, consultata il 2026-10-15T17:44:03.253Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: b4a67152ecaf204ac0c3fe6b4ad073b441134dc6e23175cccd4b52f49a0c99c1