1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Ë
ž¬`iôãór—ddlmZddlmZmZmZmZmZmZm    Z    edd«Z
Gd„de «Z d d„Z d    Zd
Zd „Zy) é)Úbord)Úload_pycryptodome_raw_libÚ VoidPointerÚ SmartPointerÚcreate_string_bufferÚget_raw_bufferÚc_size_tÚ c_uint8_ptrzCrypto.Hash._SHA512a
                        int SHA512_init(void **shaState,
                                        size_t digest_size);
                        int SHA512_destroy(void *shaState);
                        int SHA512_update(void *hs,
                                          const uint8_t *buf,
                                          size_t len);
                        int SHA512_digest(const void *shaState,
                                          uint8_t *digest,
                                          size_t digest_size);
                        int SHA512_copy(const void *src, void *dst);
 
                        int SHA512_pbkdf2_hmac_assist(const void *inner,
                                            const void *outer,
                                            const uint8_t *first_digest,
                                            uint8_t *final_digest,
                                            size_t iterations,
                                            size_t digest_size);
                        có:—eZdZdZdZd„Zd„Zd„Zd„Zd„Z    d
d    „Z
y) Ú
SHA512HashaØA SHA-512 hash object (possibly in its truncated version SHA-512/224 or
    SHA-512/256.
    Do not instantiate directly. Use the :func:`new` function.
 
    :ivar oid: ASN.1 Object ID
    :vartype oid: string
 
    :ivar block_size: the size in bytes of the internal message block,
                      input to the compression function
    :vartype block_size: integer
 
    :ivar digest_size: the size in bytes of the resulting hash
    :vartype digest_size: integer
    é€có¾—||_|€d|_d|_n3|dk(rd|_d|_n|dk(rd|_d|_n td    «‚t    «}t
j |j«t|j««}|rtd
|z«‚t|j«t
j«|_ |r|j|«yy) Nz2.16.840.1.101.3.4.2.3é@Ú224z2.16.840.1.101.3.4.2.5éÚ256z2.16.840.1.101.3.4.2.6é z7Incorrect truncation length. It must be '224' or '256'.z$Error %d while instantiating SHA-512)Ú    _truncateÚoidÚ digest_sizeÚ
ValueErrorrÚ_raw_sha512_libÚ SHA512_initÚ
address_ofr    rÚgetÚSHA512_destroyÚ_stateÚupdate)ÚselfÚdataÚtruncateÚstateÚresults     õeH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\Crypto/Hash/SHA512.pyÚ__init__zSHA512Hash.__init__EsրØ!ˆŒà Ð Ø/ˆDŒHØ!ˆDÕ Ø ˜Ò Ø/ˆDŒHØ!ˆDÕ Ø ˜Ò Ø/ˆDŒHØ!ˆDÕ äÐVÓWÐ Wä“ ˆÜ ×,Ñ,¨U×-=Ñ-=Ó-?Ü-5°d×6FÑ6FÓ-GóIˆá ÜÐCØ%ñ&ó'ð 'ä" 5§9¡9£;Ü#2×#AÑ#AóCˆŒ á Ø K‰K˜Õ ð óc    ó¸—tj|jj«t    |«t t |«««}|rtd|z«‚y)z¼Continue hashing of a message by consuming the next chunk of data.
 
        Args:
            data (byte string/byte array/memoryview): The next chunk of the message being hashed.
        z'Error %d while hashing data with SHA512N)rÚ SHA512_updaterrr
r    Úlenr)rr r#s   r$rzSHA512Hash.update_sX€ô!×.Ñ.¨t¯{©{¯©Ó/@Ü/:¸4Ó/@Ü/7¼¸D»    Ó/BóDˆñ ÜÐFØ%ñ&ó'ð 'ð r&cóæ—t|j«}tj|jj «|t |j««}|rtd|z«‚t|«S)zçReturn the **binary** (non-printable) digest of the message that has been hashed so far.
 
        :return: The hash digest, computed over the data processed so far.
                 Binary form.
        :rtype: byte string
        z#Error %d while making SHA512 digest)    rrrÚ SHA512_digestrrr    rr)rÚbfrr#s   r$ÚdigestzSHA512Hash.digestmsm€ô# 4×#3Ñ#3Ó4ˆÜ ×.Ñ.¨t¯{©{¯©Ó/@Ø/2Ü/7¸×8HÑ8HÓ/IóKˆñ ÜÐBØ%ñ&ó'ð 'ô˜cÓ"Ð"r&c    ó~—dj|j«Dcgc]}dt|«z‘Œc}«Scc}w)zÝReturn the **printable** digest of the message that has been hashed so far.
 
        :return: The hash digest, computed over the data processed so far.
                 Hexadecimal encoded.
        :rtype: string
        Úz%02x)Újoinr-r)rÚxs  r$Ú    hexdigestzSHA512Hash.hexdigests0€ðw‰w°$·+±+³-Ö@¨Q˜¤ a£Ó(Ò@ÓAÐAùÒ@sž:cóޗtd|j«}tj|jj «|jj ««}|rt d|z«‚|S)a4Return a copy ("clone") of the hash object.
 
        The copy will have the same internal state as the original hash
        object.
        This can be used to efficiently compute the digests of strings that
        share a common initial substring.
 
        :return: A hash object of the same type
        NzError %d while copying SHA512)r rrÚ SHA512_copyrrr)rÚcloner#s   r$ÚcopyzSHA512Hash.copy‰s[€ô˜4 §¡Ó0ˆÜ ×,Ñ,¨T¯[©[¯_©_Ó->Ø-2¯\©\×-=Ñ-=Ó-?óAˆá ÜÐ<¸vÑEÓFÐ F؈ r&Ncó.—t||j«S)z#Create a fresh SHA-512 hash object.)r r)rr s  r$ÚnewzSHA512Hash.new›s€ô˜$ §¡Ó/Ð/r&)N) Ú__name__Ú
__module__Ú __qualname__Ú__doc__Ú
block_sizer%rr-r2r6r8©r&r$r r 2s-„ñ ð €Jòò4 'ò#ò$Bòô$0r&r Ncó—t||«S)aCreate a new hash object.
 
    Args:
      data (bytes/bytearray/memoryview):
        Optional. The very first chunk of the message to hash.
        It is equivalent to an early call to :meth:`SHA512Hash.update`.
      truncate (string):
        Optional. The desired length of the digest. It can be either "224" or
        "256". If not present, the digest is 512 bits long.
        Passing this parameter is **not** equivalent to simply truncating
        the output digest.
 
    :Return: A :class:`SHA512Hash` hash object
    )r )r r!s  r$r8r8¡s€ô  d˜HÓ %Ð%r&rr c ó8—|dkDsJ‚tt|««}tj|jj «|jj «||t |«t t|«««}|rtd|z«‚t|«S)z/Compute the expensive inner loop in PBKDF-HMAC.rz+Error %d with PBKDF2-HMAC assist for SHA512)    rr)rÚSHA512_pbkdf2_hmac_assistrrr    rr)ÚinnerÚouterÚ first_digestÚ
iterationsr,r#s      r$Ú_pbkdf2_hmac_assistrF»s‹€ð ˜Š>Ј>ä
œs <Ó0Ó
1€CÜ × 6Ñ 6Ø—L‘L×$Ñ$Ó&Ø—L‘L×$Ñ$Ó&Ø ØÜ˜ZÓ(ÜœS Ó.Ó/ó 1€FñÜÐFÈÑOÓPÐPä ˜#Ó Ðr&)NN)ÚCrypto.Util.py3compatrÚCrypto.Util._raw_apirrrrrr    r
rÚobjectr r8rr=rFr>r&r$ú<module>rJsTðõ*'÷/÷/ñ/ñ ,Ð,Aðó€ô*l0ôl0ó^&ð(€ ð€
ór&