⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
__pycache__
/
View File Name :
crypt.cpython-310.pyc
o }5h @ s. d Z ddlZzddlZW n ey ejdkrededw ddlZddlZ ddl mZ ddl mZ e je j d Ze ZG d d d ed dZd&ddd dZd&ddZg ZddddZedddd edddd dD ]Zedde ddee ddr nqqedd d!d" ed#dd$d% [[dS )'zEWrapper to the POSIX crypt library call and associated functionality. Nwin32z,The crypt module is not supported on Windowsz;The required _crypt module was not built as part of CPython)SystemRandom) namedtuplez./c @ s e Zd ZdZdd ZdS )_MethodziClass representing a salt method per the Modular Crypt Format or the legacy 2-character crypt method.c C s d | jS )Nz
)formatname)self r /usr/lib/python3.10/crypt.py__repr__ s z_Method.__repr__N)__name__ __module____qualname____doc__r r r r r r s r z name ident salt_chars total_sizeroundsc C sH | du rt d } |durt|tst|jj d| js d}nd| j d}| jrd| jd dkrd|du r8d}n#t|d }|d|> krItd d | krVdks[td td||d d7 }n/| jdv r|durd| krzdkstd td|d| d7 }n|durt| d|d dd t | jD 7 }|S )zsGenerate a salt for the specified method. If not specified, the strongest available method will be used. Nr z+ object cannot be interpreted as an integer $2 zrounds must be a power of 2 z%rounds out of the range 2**4 to 2**3102d)56i iɚ;z+rounds out of the range 1000 to 999_999_999zrounds=z$ doesn't support the rounds argumentc s s | ]}t tV qd S N)_srchoice _saltchars).0charr r r
B s zmksalt.
.
)methods isinstanceint TypeError __class__r ident bit_length ValueErrorjoinrange salt_chars)methodr s log_roundsr r r mksalt s<