File: //usr/lib64/python3.8/__pycache__/crypt.cpython-38.pyc
U
e5d @ s0 d Z ddlZzddlZW n0 ek
rH ejdkr<ednedY nX ddlZddl m
Z ddlm
Z ejej d Ze ZG d d
d
ed
dZd&ddd
dZd'ddZg ZddddZedddd edddd dD ](Zedde ddee ddr qqedd d!d" ed#dd$d% [[dS )(zEWrapper to the POSIX crypt library call and associated functionality. NZwin32z,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<crypt.METHOD_{}>)formatname)self r /usr/lib64/python3.8/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 sB | dkrt d } |dk r4t|ts4t|jj d| js@d}nd| j d}| jr| jd dkr|dkrpd}n@t|d }|d|>