Datatypes

OCI content digest (container image digest)

ID oci_digest

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Content identifier of the OCI image and distribution specifications, used for container images and their layers (as in image@sha256:...): the algorithm, a colon and the digest in lowercase hexadecimal. The registered algorithms are sha256 (64 digits, the default), sha512 (128 digits) and blake3 (64 digits).

Categories
Software development, Cryptographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
75/100 · missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:sha256:[a-f0-9]{64}|sha512:[a-f0-9]{128}|blake3:[a-f0-9]{64})$

Python re syntax.

Examples

ValueDescription
sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270Digest of the example manifest of the OCI descriptor specification
sha256:6c3c624b58dbbcd3c0dd82b4c53f04194d1247c6eebdaab7c610cf7d66709b3bExample digest string of the OCI descriptor specification
sha256:6C3C624B58DBBCD3C0DD82B4C53F04194D1247C6EEBDAAB7C610CF7D66709B3B invalidUppercase hexadecimal, which the specification forbids

Sources

Use this record