I have this code
Hash["a","SHA"]
Hash[ToCharacterCode["a"],"SHA"]
and I was expecting to get the same result, but somehow it is different.
My question is: how does Mathematica calculates hashcalculate hashing for strings? From common sense it should convert a string to integer and calculate it for some integer. If so, how does it convert the string to integer?