package core:crypto/blake2s
Index
Types (1)
Constants (1)
Variables (0)
This section is empty.
Procedure Groups (1)
Types
Context ¶
Context :: _blake2.Blake2s_Context
Constants
DIGEST_SIZE ¶
DIGEST_SIZE :: 32
Variables
This section is empty.
Procedures
final ¶
final :: proc(ctx: ^_blake2.Blake2s_Context, hash: []u8) {…}
hash_bytes ¶
hash_bytes will hash the given input and return the computed hash
hash_bytes_to_buffer ¶
hash_bytes_to_buffer :: proc(data, hash: []u8) {…}
hash_bytes_to_buffer will hash the given input and write the computed hash into the second parameter. It requires that the destination buffer is at least as big as the digest size
hash_file ¶
hash_file will read the file provided by the given handle and compute a hash
hash_stream ¶
hash_stream will read the stream in chunks and compute a hash from its contents
hash_string ¶
hash_string will hash the given input and return the computed hash
hash_string_to_buffer ¶
hash_string_to_buffer will hash the given input and assign the computed hash to the second parameter. It requires that the destination buffer is at least as big as the digest size
init ¶
init :: proc(ctx: ^_blake2.Blake2s_Context) {…}
update ¶
update :: proc(ctx: ^_blake2.Blake2s_Context, data: []u8) {…}
Procedure Groups
hash ¶
hash :: proc{ hash_stream, hash_file, hash_bytes, hash_string, hash_bytes_to_buffer, hash_string_to_buffer, }
Source Files
Generation Information
Generated with odin version dev-2023-12 (vendor "odin") Windows_amd64 @ 2023-12-03 21:08:11.308374400 +0000 UTC