관리-도구
편집 파일: hashes.cpython-311.pyc
� �Dgl � � � d dl Z d dlmZmZmZmZmZmZmZ d dl m Z mZmZ d dl mZ erd dl mZ dZg d�Z G d� d � � Z G d � de� � ZdS )� N)� TYPE_CHECKING�BinaryIO�Dict�Iterable�List�NoReturn�Optional)�HashMismatch�HashMissing�InstallationError)�read_chunks)�_Hash�sha256)r �sha384�sha512c �( � e Zd ZdZddeeeee f ddfd�Zdd�Z e defd�� � Zd ed ede fd�Zdee ddfd �Zdeedf ddfd�Zdeddfd�Zdeddfd�Zdeeef de fd�Zde fd�Zdede fd�Zdefd�ZdS )�HasheszaA wrapper that builds multiple hashes at once and checks them against known-good values N�hashes�returnc � � i }|�6|� � � D ]!\ }}d� t |� � D � � ||<