Skip to documentation
SLOP

tiny.content.Algorithm

Reference tiny.content Algorithm

Defined in tiny.content.

The hash algorithm offers two choices, BLAKE3 and SHA-256, which a caller picks to name content when it derives an identifier or a reference.

API (2)

Fields and members

Public fields and members.

No direct callersNo direct callstiny.contentAlgorithm
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/content/src/model.zig:10

zig
/// The hash algorithm offers two choices, BLAKE3 and SHA-256, which a caller/// picks to name content when it derives an identifier or a reference. The/// algorithm runs over the complete bytes as they are, with no length prefix or/// other framing added.pub const Algorithm = enum(u8) {    blake3 = 1,    sha256 = 2,};

Source: lib/content/src/root.zig:26

zig
pub const Algorithm = model.Algorithm;

Audit

Definitions1
Public names1
Members2
Version26.7.0
Revisiondaab053ee433