관리-도구
편집 파일: des_crypt.cpython-39.pyc
a f�Wc_W � @ s$ d Z ddlZddlZe�e�ZddlmZ ddlm Z m Z mZ ddlm Z mZ ddlmZmZmZmZmZ ddlmZ ddlm mZ g d�Zd Zd d� Zdd � Zdd� Zdd� Z G dd� dej!ej"ej#ej$�Z%G dd� dej"ej&ej#ej$�Z'G dd� dej#ej$�Z(G dd� dej!ej#ej$�Z)dS )zFpasslib.handlers.des_crypt - traditional unix (DES) crypt and variants� N)�warn)� safe_crypt� test_crypt� to_unicode)�h64�h64big)�byte_elem_value�u� uascii_to_str�unicode�suppress_cause)�des_encrypt_int_block)� des_crypt� bsdi_crypt�bigcrypt�crypt16� c C s t dd� t| dd� �D ��S )z�convert secret to 64-bit DES key. this only uses the first 8 bytes of the secret, and discards the high 8th bit of each byte at that. a null parity bit is inserted after every 7th bit of the output. c s s* | ]"\}}t |�d @ d|d >