Which module computes hashes like SHA-256 in Python?
Correct answer
C. hashlib
C. hashlib
hashlib.sha256(b'data').hexdigest() returns the hash.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is C? Ask here and get an explanation.