0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.179.30


Current Path : /proc/self/root/usr/lib/python3/dist-packages/landscape/lib/
Upload File :
Current File : //proc/self/root/usr/lib/python3/dist-packages/landscape/lib/hashlib.py

"""Provide backward compatible access to hashlib functions."""

try:
    _hashlib = __import__("hashlib")
except ImportError:
    from md5 import md5
    from sha import sha as sha1
else:
    md5 = _hashlib.md5
    sha1 = _hashlib.sha1


__all__ = ["md5", "sha1"]