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.
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
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |