package core:crypto/tiger2

Types

Tiger_Context ¶

Tiger_Context :: _tiger.Tiger_Context

Constants

DIGEST_SIZE_128 ¶

DIGEST_SIZE_128 :: 16

DIGEST_SIZE_160 ¶

DIGEST_SIZE_160 :: 20

DIGEST_SIZE_192 ¶

DIGEST_SIZE_192 :: 24

Variables

This section is empty.

Procedures

final ¶

final :: proc "odin" (ctx: ^_tiger.Tiger_Context, hash: []u8) {…}

hash_bytes_128 ¶

hash_bytes_128 :: proc "odin" (data: []u8) -> [16]u8 {…}
 

hash_bytes_128 will hash the given input and return the computed hash

hash_bytes_160 ¶

hash_bytes_160 :: proc "odin" (data: []u8) -> [20]u8 {…}
 

hash_bytes_160 will hash the given input and return the computed hash

hash_bytes_192 ¶

hash_bytes_192 :: proc "odin" (data: []u8) -> [24]u8 {…}
 

hash_bytes_192 will hash the given input and return the computed hash

hash_bytes_to_buffer_128 ¶

hash_bytes_to_buffer_128 :: proc "odin" (data, hash: []u8) {…}
 

hash_bytes_to_buffer_128 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_160 ¶

hash_bytes_to_buffer_160 :: proc "odin" (data, hash: []u8) {…}
 

hash_bytes_to_buffer_160 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_192 ¶

hash_bytes_to_buffer_192 :: proc "odin" (data, hash: []u8) {…}
 

hash_bytes_to_buffer_192 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_128 ¶

hash_file_128 :: proc "odin" (hd: os.Handle, load_at_once: bool = false) -> ([16]u8, bool) {…}
 

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

hash_file_160 ¶

hash_file_160 :: proc "odin" (hd: os.Handle, load_at_once: bool = false) -> ([20]u8, bool) {…}
 

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

hash_file_192 ¶

hash_file_192 :: proc "odin" (hd: os.Handle, load_at_once: bool = false) -> ([24]u8, bool) {…}
 

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

hash_stream_128 ¶

hash_stream_128 :: proc "odin" (s: io.Stream) -> ([16]u8, bool) {…}
 

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

hash_stream_160 ¶

hash_stream_160 :: proc "odin" (s: io.Stream) -> ([20]u8, bool) {…}
 

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

hash_stream_192 ¶

hash_stream_192 :: proc "odin" (s: io.Stream) -> ([24]u8, bool) {…}
 

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

hash_string_128 ¶

hash_string_128 :: proc "odin" (data: string) -> [16]u8 {…}
 

hash_string_128 will hash the given input and return the computed hash

hash_string_160 ¶

hash_string_160 :: proc "odin" (data: string) -> [20]u8 {…}
 

hash_string_160 will hash the given input and return the computed hash

hash_string_192 ¶

hash_string_192 :: proc "odin" (data: string) -> [24]u8 {…}
 

hash_string_192 will hash the given input and return the computed hash

hash_string_to_buffer_128 ¶

hash_string_to_buffer_128 :: proc "odin" (data: string, hash: []u8) {…}
 

hash_string_to_buffer_128 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_160 ¶

hash_string_to_buffer_160 :: proc "odin" (data: string, hash: []u8) {…}
 

hash_string_to_buffer_160 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_192 ¶

hash_string_to_buffer_192 :: proc "odin" (data: string, hash: []u8) {…}
 

hash_string_to_buffer_192 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 "odin" (ctx: ^_tiger.Tiger_Context) {…}

update ¶

update :: proc "odin" (ctx: ^_tiger.Tiger_Context, data: []u8) {…}

Procedure Groups

Source Files

Generation Information

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