maci.createhash
create hash of data
Creates a hash of the provided data, and returns a string of the hash.
Basic Example of hashing data using the default positional parameter
hashed_data = maci.createhash(data)
In this example, we simply input the data desired to hash using the createhash function and pass the data as an argument to the function, and assign the returned hashed data to a variable.
This function accepts simple or specific data type structures. Strings or bytes for example are some of the simple ones, but see data_to_hash parameter below to see other options.
parameters & arguments
Describes all parameter functionality and accepted data types
Last updated