Hashing functions
All hashing functions take a sp.bytes value and return the corresponding hash as a new sp.bytes value.
See reference Hash Functions template.
To get the bytes associated to a given value you need to use sp.pack(<value>)
. Have a look at Pack and Unpack for more information.