package vendor:botan/shake
Index
Types (1)
Constants (2)
Variables (0)
This section is empty.
Types
Shake_Context ¶
Shake_Context :: ^vendor_botan.hash_struct
Constants
DIGEST_SIZE_128 ¶
DIGEST_SIZE_128 :: 16
DIGEST_SIZE_256 ¶
DIGEST_SIZE_256 :: 32
Variables
This section is empty.
Procedures
final ¶
final :: proc "contextless" (ctx: ^^vendor_botan.hash_struct, hash: []u8) {…}
hash_bytes_128 ¶
hash_bytes_128 will hash the given input and return the computed hash
hash_bytes_256 ¶
hash_bytes_256 will hash the given input and return the computed hash
hash_bytes_to_buffer_128 ¶
hash_bytes_to_buffer_128 :: proc(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_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_file_128 ¶
hash_file_128 will read the file provided by the given handle and compute a hash
hash_file_256 ¶
hash_file_256 will read the file provided by the given handle and compute a hash
hash_stream_128 ¶
hash_stream_128 will read the stream in chunks and compute a hash from its contents
hash_stream_256 ¶
hash_stream_256 will read the stream in chunks and compute a hash from its contents
hash_string_128 ¶
hash_string_128 will hash the given input and return the computed hash
hash_string_256 ¶
hash_string_256 will hash the given input and return the computed hash
hash_string_to_buffer_128 ¶
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_256 ¶
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
init ¶
init :: proc "contextless" (ctx: ^^vendor_botan.hash_struct, hash_size: int = 512) {…}
update ¶
update :: proc "contextless" (ctx: ^^vendor_botan.hash_struct, data: []u8) {…}
Procedure Groups
hash_128 ¶
hash_128 :: proc{ hash_stream_128, hash_file_128, hash_bytes_128, hash_string_128, hash_bytes_to_buffer_128, hash_string_to_buffer_128, }
hash_256 ¶
hash_256 :: proc{ hash_stream_256, hash_file_256, hash_bytes_256, hash_string_256, hash_bytes_to_buffer_256, hash_string_to_buffer_256, }
Source Files
Generation Information
Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:47.268491300 +0000 UTC