All the functions mentioned - sm3_hash, sm3_hash_string, and sm3_hash_file -
return a 64-character hexadecimal string representing the 256-bit hash value
generated by the SM3 cryptographic hash function. This hexadecimal string is
commonly used to represent the hash output in a human-readable format.
The sm3_hash function calculates the SM3 hash of a raw vector input and
returns a 64-character hexadecimal string. Similarly, sm3_hash_string takes
a string as input and also returns a 64-character hexadecimal string
representing the SM3 hash of the input string. The sm3_hash_file function,
on the other hand, takes a file path as input, reads the contents of the file,
calculates its SM3 hash, and returns the corresponding 64-character hexadecimal string.