An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/opencontainers/go-digest

Package digest provides a generalized type to opaquely represent message digests and their operations within the registry. The Digest type is designed to serve as a flexible identifier in a content-addressable system. More importantly, it provides tools and wrappers to work with hash.Hash-based digests with little effort. The format of a digest is simply a string with two parts, dubbed the "algorithm" and the "digest", separated by a colon: An example of a sha256 digest representation follows: The "algorithm" portion defines both the hashing algorithm used to calculate the digest and the encoding of the resulting digest, which defaults to "hex" if not otherwise specified. Currently, all supported algorithms have their digests encoded in hex strings. In the example above, the string "sha256" is the algorithm and the hex bytes are the "digest". Because the Digest type is simply a string, once a valid Digest is obtained, comparisons are cheap, quick and simple to express with the standard equality operator. The main benefit of using the Digest type is simple verification against a given digest. The Verifier interface, modeled after the stdlib hash.Hash interface, provides a common write sink for digest verification. After writing is complete, calling the Verifier.Verified method will indicate whether or not the stream of bytes matches the target digest. In addition to the above, we intend to add the following features to this package: 1. A Digester type that supports write sink digest calculation. 2. Suspend and resume of ongoing digest calculations to support efficient digest verification in the registry.
3 versions
Latest release: about 5 years ago
9,946 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/opencontainers/go-digest

Dependent Repos 14

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 8 months ago - Pushed: 12 months ago

radiofrance/dib
An opinionated DAG image builder

Size: 3.64 MB - Last synced: 2 days ago - Pushed: 2 days ago

radiofrance/image-registry-metrics-exporter
Image Registry Metrics Exporter provides metrics about creation and uploading time of images on OCI registry.

Size: 306 KB - Last synced: 2 days ago - Pushed: 7 days ago

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.

Size: 6.2 MB - Last synced: 2 days ago - Pushed: almost 2 years ago

signaux-faibles/opensignauxfaibles Fork of entrepreneur-interet-general/opensignauxfaibles
Plateforme de détection des entreprises fragiles

Size: 36.6 MB - Last synced: 3 days ago - Pushed: 4 months ago

signaux-faibles/libwekan

Size: 218 KB - Last synced: 3 days ago - Pushed: 12 months ago

signaux-faibles/IamUpdater
keycloakUpdater pour Signaux-Faibles

Size: 615 KB - Last synced: 3 days ago - Pushed: 12 months ago

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43.1 MB - Last synced: 3 days ago - Pushed: 6 days ago

signaux-faibles/prepare-import
📥 Scripts de préparation à l'importation de données dans le processus d'intégration

Size: 276 KB - Last synced: 3 days ago - Pushed: 5 months ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2.99 MB - Last synced: 8 months ago - Pushed: 10 months ago

csan/csan
CSAN : A marketplace for science

Last synced: 8 months ago

InseeFrLab/gonyxia-api

Size: 98.6 KB - Last synced: 2 days ago - Pushed: 2 days ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 5 days ago - Pushed: about 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 5 days ago - Pushed: almost 3 years ago