HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/dns/__pycache__/tsigkeyring.cpython-36.pyc
3

�b�W��@s8dZddlmZmZddlZddlZdd�Zdd�ZdS)zA place to store TSIG keys.�)�maybe_decode�maybe_encodeNcCs<i}x2|D]*}tjj|�}tjt||��}|||<q
W|S)z�Convert a dictionary containing (textual DNS name, base64 secret) pairs
    into a binary keyring which has (dns.name.Name, binary secret) pairs.
    @rtype: dict)�dns�name�	from_text�base64Zdecodestringr)�textring�keyring�keytext�keyname�secret�r
�!/usr/lib/python3.6/tsigkeyring.pyrs
rcCs<i}x2|D]*}t|j��}ttj||��}|||<q
W|S)z�Convert a dictionary containing (dns.name.Name, binary secret) pairs
    into a text keyring which has (textual DNS name, base64 secret) pairs.
    @rtype: dict)r�to_textrZencodestring)r	rrr
rr
r
rr&s
r)	�__doc__Zdns._compatrrrZdns.namerrrr
r
r
r�<module>s