Compute the SHA1 hex digest of any string using Python's hashlib.
Constraints
Example
>>> sha1_hash_string('hello')
'f572d396fae9206628714fb2ce00f72e94f2258f'
>>> sha1_hash_string('')
'da39a3ee5e6b4b0d3255bfef95601890afd80709'
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints