ids

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentHash

func ContentHash(b []byte) string

ContentHash returns the "sha256:<hex>" content hash used throughout Readproof.

func New

func New(prefix string) string

New returns a sortable, prefixed identifier, e.g. New("snap") -> "snap_01J8Y...".

func SHA256Hex

func SHA256Hex(b []byte) string

SHA256Hex returns the lowercase hex-encoded sha256 digest of b.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL