OCI Digest is an alternative to OCI's https://github.com/opencontainers/go-digest.
Key differences include:
- Data types are structs with private fields that are verified on creation rather than parsing strings on usage.
- The package should return an error or empty values rather than panic.
- Alternate encodings are supported per algorithm.
- Pass-through reader and writer implementations allow the calculation and/or verification of a digest without a separate
io.TeeReaderorio.MultiWriter.