✏️ 编辑:crypt.cpython-39.pyc
路径:
/usr/lib64/python3.9/__pycache__/crypt.cpython-39.pyc
大小:3.43 KB · 修改:2026-08-12 15:51:23 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a �i� � @ s6 d Z ddlZzddlZW n. eyF ejdkr:ed��ned��Y n0 ddlZddlZ ddl mZ ddl mZ e je j d Ze� ZG d d � d ed d��Zd&dd�d d�Zd'dd�Zg Zdd�dd�Zedddd� edddd� dD ](Zedde ddee� dd�r� �qq�edd d!d"� ed#dd$d%� [[dS )(zEWrapper to the POSIX crypt library call and associated functionality.� N�win32z,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� | j�S )Nz<crypt.METHOD_{}>)�format�name)�self� r �/usr/lib64/python3.9/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_size��roundsc C sB | du rt d } |dur4t|t�s4t|jj� d���| js@d}nd| j� d�}| jr�| jd dkr�|du rpd}n@t�|d �}|d|>