What seems to be the problem? The hex string produced by the string.sha1 function prints the result in a non-standard way. To be exact, for each byte it swaps the higher and lower 4 bits compared to ...