Skip to content

Glossary: Passwords, Automation and AI in Security Operations

hashlib

Python's built-in module for computing hashes such as SHA-1 and SHA-256. For example, `hashlib.sha1(password.encode()).hexdigest()` turns a password into the hash used for a k-anonymity breach check.

Where the book teaches it

Related terms

hashPython