package core:crypto/blake2s
⌘K
Ctrl+K
or
/
Overview
Index
Types (1)
Constants (2)
Variables (0)
This section is empty.
Procedure Groups (0)
This section is empty.
Types
Constants
BLOCK_SIZE ¶
BLOCK_SIZE :: _blake2.BLAKE2S_BLOCK_SIZE
BLOCK_SIZE is the BLAKE2s block size in bytes.
Variables
This section is empty.
Procedures
clone ¶
clone :: proc(ctx, other: ^_blake2.Blake2s_Context) {…}
clone clones the Context other into ctx.
final ¶
final finalizes the Context, writes the digest to hash, and calls reset on the Context.
iff finalize_clone is set, final will work on a copy of the Context, which is useful for for calculating rolling digests.
init ¶
init :: proc(ctx: ^_blake2.Blake2s_Context, digest_size: int = DIGEST_SIZE) {…}
init initializes a Context with the default BLAKE2s config.
init_mac ¶
init_mac initializes a Context with a user provided key.
reset ¶
reset :: proc(ctx: ^_blake2.Blake2s_Context) {…}
reset sanitizes the Context. The Context must be re-initialized to be used again.
update ¶
update :: proc(ctx: ^_blake2.Blake2s_Context, data: []u8) {…}
update adds more data to the Context.
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2026-10 (vendor "odin") Windows_amd64 @ 2026-10-16 23:11:35.830291800 +0000 UTC