pub fn keccak_256(input_data: &[u8]) -> Uint256 {
    let mut hasher = Keccak256::new();
    hasher.update(input_data);
    let result = hasher.finalize();
    let result_bytes = result.as_slice();

    return Uint256::from_bytes_be( &result_bytes );
}
//Performs a keckkack256 hash on the input bytes and return a Uint256
Performs a keckkack256 hash on the input bytes and return a Uint256
Performs a keckkack256 hash on the input bytes and return a Uint256
pub fn keccak_256(input_data: &[u8]) -> Uint256 {
    let mut hasher = Keccak256::new();
    hasher.update(input_data);
    let result = hasher.finalize();
    let result_bytes = result.as_slice();
    return Uint256::from_bytes_be( &result_bytes );
}
pub fn keccak_256 ( input_data : & [ u8 ] ) -> Uint256 { let mut hasher = Keccak256 :: new ( ) ; hasher . update ( input_data ) ; let result = hasher . finalize ( ) ; let result_bytes = result . as_slice ( ) ; return Uint256 :: from_bytes_be ( & result_bytes ) ; }
Performs a keckkack256 hash on the input bytes and return a Uint256
Performs a keckkack256 hash on the input bytes and return a Uint256
input_data
&[u8]
input_data
&[u8]