Computes the Keccak-256 hash of a byte sequence with custom padding. This function allows hashing arbitrary byte sequences by providing the input as 64-bit words in little-endian format and a final partial word.Documentation Index
Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
Use this file to discover all available pages before exploring further.
Signature
Arguments
input- Array of complete 64-bit words in little-endian formatlast_input_word- Final partial word (if any)last_input_num_bytes- Number of valid bytes in the final word (0-7)
Returns
The 32-byte Keccak-256 hash as a little-endianu256
Panics
Panics iflast_input_num_bytes is greater than 7.