⚝
One Hat Cyber Team
⚝
Your IP:
18.218.96.239
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
dns
/
View File Name :
zonetypes.py
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license """Common zone-related types.""" # This is a separate file to avoid import circularity between dns.zone and # the implementation of the ZONEMD type. import hashlib import dns.enum class DigestScheme(dns.enum.IntEnum): """ZONEMD Scheme""" SIMPLE = 1 @classmethod def _maximum(cls): return 255 class DigestHashAlgorithm(dns.enum.IntEnum): """ZONEMD Hash Algorithm""" SHA384 = 1 SHA512 = 2 @classmethod def _maximum(cls): return 255 _digest_hashers = { DigestHashAlgorithm.SHA384: hashlib.sha384, DigestHashAlgorithm.SHA512: hashlib.sha512, }