Framework for handling LDAP-style password hashes in Python. Current version 6.0, compatible with Python >=3.9. Release cadence is irregular, driven by Zope project needs.
pip install authencodingVerified import paths — ran on the pinned version, not inferred.
Encode and validate a password using the default SHA256 scheme.
Update calls to only pass the password string; remove legacy hash arguments.
Wrap calls in try/except ValueError or use the new `verify_password` (if available) that returns boolean.
Import directly from `authencoding` instead.
Use `encode_password(pw, scheme='{SSHA}')` for SHA1 or `scheme='{SMD5}'` for MD5.No dependency data recorded yet.