package vendor:botan/skein512

⌘K
Ctrl+K
or
/

    Types

    Skein512_Context ¶

    Skein512_Context :: ^vendor_botan.hash_struct

    Constants

    DIGEST_SIZE_256 ¶

    DIGEST_SIZE_256 :: 32

    DIGEST_SIZE_512 ¶

    DIGEST_SIZE_512 :: 64

    Variables

    This section is empty.

    Procedures

    final ¶

    final :: proc "contextless" (ctx: ^^vendor_botan.hash_struct, hash: []u8) {…}

    hash_bytes_256 ¶

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

    hash_bytes_256 will hash the given input and return the computed hash

    hash_bytes_512 ¶

    hash_bytes_512 :: proc(data: []u8) -> [64]u8 {…}
     

    hash_bytes_512 will hash the given input and return the computed hash

    hash_bytes_slice ¶

    hash_bytes_slice :: proc(data: []u8, bit_size: int, allocator := context.allocator) -> []u8 {…}
     

    hash_bytes_slice will hash the given input and return the computed hash

    hash_bytes_to_buffer_256 ¶

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

    hash_bytes_to_buffer_256 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_bytes_to_buffer_512 ¶

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

    hash_bytes_to_buffer_512 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_bytes_to_buffer_slice ¶

    hash_bytes_to_buffer_slice :: proc(data, hash: []u8, bit_size: int, allocator := context.allocator) {…}
     

    hash_bytes_to_buffer_slice 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_256 ¶

    hash_file_256 :: proc(hd: os.Handle, load_at_once: bool = false) -> ([32]u8, bool) {…}
     

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

    hash_file_512 ¶

    hash_file_512 :: proc(hd: os.Handle, load_at_once: bool = false) -> ([64]u8, bool) {…}
     

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

    hash_file_slice ¶

    hash_file_slice :: proc(hd: os.Handle, bit_size: int, load_at_once: bool = false, allocator := context.allocator) -> ([]u8, bool) {…}
     

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

    hash_stream_256 ¶

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

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

    hash_stream_512 ¶

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

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

    hash_stream_slice ¶

    hash_stream_slice :: proc(s: io.Stream, bit_size: int, allocator := context.allocator) -> ([]u8, bool) {…}
     

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

    hash_string_256 ¶

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

    hash_string_256 will hash the given input and return the computed hash

    hash_string_512 ¶

    hash_string_512 :: proc(data: string) -> [64]u8 {…}
     

    hash_string_512 will hash the given input and return the computed hash

    hash_string_slice ¶

    hash_string_slice :: proc(data: string, bit_size: int, allocator := context.allocator) -> []u8 {…}
     

    hash_string_slice will hash the given input and return the computed hash

    hash_string_to_buffer_256 ¶

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

    hash_string_to_buffer_256 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

    hash_string_to_buffer_512 ¶

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

    hash_string_to_buffer_512 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

    hash_string_to_buffer_slice ¶

    hash_string_to_buffer_slice :: proc(data: string, hash: []u8, bit_size: int, allocator := context.allocator) {…}
     

    hash_string_to_buffer_512 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: ^^vendor_botan.hash_struct, hash_size: int = 512) {…}

    update ¶

    update :: proc "contextless" (ctx: ^^vendor_botan.hash_struct, data: []u8) {…}

    Procedure Groups

    Source Files

    Generation Information

    Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:47.822048900 +0000 UTC