package core:crypto/blake2s

⌘K
Ctrl+K
or
/

    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 :: proc(data: []u8) -> [32]u8 {…}
     

    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 :: proc(hd: os.Handle, load_at_once: bool = false) -> ([32]u8, bool) {…}
     

    hash_file will read the file provided by the given handle and compute a hash

    hash_stream ¶

    hash_stream :: proc(s: io.Stream) -> ([32]u8, bool) {…}
     

    hash_stream will read the stream in chunks and compute a hash from its contents

    hash_string ¶

    hash_string :: proc(data: string) -> [32]u8 {…}
     

    hash_string will hash the given input and return the computed hash

    hash_string_to_buffer ¶

    hash_string_to_buffer :: proc(data: string, hash: []u8) {…}
     

    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

    Source Files

    Generation Information

    Generated with odin version dev-2023-12 (vendor "odin") Windows_amd64 @ 2023-12-03 21:08:11.308374400 +0000 UTC