hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
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
87
88
Ë
ž¬`ioãó˜—dZddlmZddlmZmZmZmZmZm    Z    m
Z
edd«Z Gd„de «Z d
d    „Ze jZe j Zy) a‚
MD4 is specified in RFC1320_ and produces the 128 bit digest of a message.
 
    >>> from Crypto.Hash import MD4
    >>>
    >>> h = MD4.new()
    >>> h.update(b'Hello')
    >>> print h.hexdigest()
 
MD4 stand for Message Digest version 4, and it was invented by Rivest in 1990.
This algorithm is insecure. Do not use it for new designs.
 
.. _RFC1320: http://tools.ietf.org/html/rfc1320
é)Úbord)Úload_pycryptodome_raw_libÚ VoidPointerÚ SmartPointerÚcreate_string_bufferÚget_raw_bufferÚc_size_tÚ c_uint8_ptrzCrypto.Hash._MD4aí
                        int md4_init(void **shaState);
                        int md4_destroy(void *shaState);
                        int md4_update(void *hs,
                                          const uint8_t *buf,
                                          size_t len);
                        int md4_digest(const void *shaState,
                                          uint8_t digest[20]);
                        int md4_copy(const void *src, void *dst);
                        cóD—eZdZdZdZdZdZd d„Zd„Zd„Z    d    „Z
d
„Z d d „Z y) ÚMD4Hashz&Class that implements an MD4 hash
    éé@z1.2.840.113549.2.4Ncó—t«}tj|j««}|rt    d|z«‚t |j «tj«|_|r|j|«yy)Nú Error %d while instantiating MD4)
rÚ _raw_md4_libÚmd4_initÚ
address_ofÚ
ValueErrorrÚgetÚ md4_destroyÚ_stateÚupdate)ÚselfÚdataÚstateÚresults    õbH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\Crypto/Hash/MD4.pyÚ__init__zMD4Hash.__init__Osn€Ü“ ˆÜ×&Ñ& u×'7Ñ'7Ó'9Ó:ˆÙ ÜÐ?Ø%ñ&ó'ð 'ä" 5§9¡9£;Ü#/×#;Ñ#;ó=ˆŒ á Ø K‰K˜Õ ð óc    ó¸—tj|jj«t    |«t t |«««}|rtd|z«‚y)a«Continue hashing of a message by consuming the next chunk of data.
 
        Repeated calls are equivalent to a single call with the concatenation
        of all the arguments. In other words:
 
           >>> m.update(a); m.update(b)
 
        is equivalent to:
 
           >>> m.update(a+b)
 
        :Parameters:
          data : byte string/byte array/memoryview
            The next chunk of the message being hashed.
        rN)rÚ
md4_updaterrr
r    Úlenr)rrrs   rrzMD4Hash.updateZsW€ô"×(Ñ(¨¯©¯©Ó):Ü)4°TÓ):Ü)1´#°d³)Ó)<ó>ˆñ ÜÐ?Ø%ñ&ó'ð 'ð rcó¾—t|j«}tj|jj «|«}|rt d|z«‚t|«S)arReturn the **binary** (non-printable) digest of the message that
        has been hashed so far.
 
        This method does not change the state of the hash object.
        You can continue updating the object after calling this function.
 
        :Return: A byte string of `digest_size` bytes. It may contain non-ASCII
         characters, including null bytes.
        r)rÚ digest_sizerÚ
md4_digestrrrr)rÚbfrrs   rÚdigestzMD4Hash.digestrs\€ô# 4×#3Ñ#3Ó4ˆÜ×(Ñ(¨¯©¯©Ó):Ø),ó.ˆá ÜÐ?Ø%ñ&ó'ð 'ô˜cÓ"Ð"rc    ó~—dj|j«Dcgc]}dt|«z‘Œc}«Scc}w)aReturn the **printable** digest of the message that has been
        hashed so far.
 
        This method does not change the state of the hash object.
 
        :Return: A string of 2* `digest_size` characters. It contains only
         hexadecimal ASCII digits.
        Úz%02x)Újoinr'r)rÚxs  rÚ    hexdigestzMD4Hash.hexdigest†s0€ðw‰w°$·+±+³-Ö@¨Q˜¤ a£Ó(Ò@ÓAÐAùÒ@sž:cóƗt«}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
        zError %d while copying MD4)r rÚmd4_copyrrr)rÚcloners   rÚcopyz MD4Hash.copy’sQ€ô“    ˆÜ×&Ñ& t§{¡{§¡Ó'8Ø',§|¡|×'7Ñ'7Ó'9ó;ˆá ÜÐ9¸FÑBÓCÐ C؈ rcó—t|«S©N)r )rrs  rÚnewz MD4Hash.new¤s €Üt‹}Ðrr2) Ú__name__Ú
__module__Ú __qualname__Ú__doc__r$Ú
block_sizeÚoidrrr'r,r0r3©rrr r Ds7„ñð€Kà€Jà
€Có    ò'ò0#ò(
Bòô$rr Ncó4—t«j|«S)aReturn a fresh instance of the hash object.
 
    :Parameters:
       data : byte string/byte array/memoryview
        The very first chunk of the message to hash.
        It is equivalent to an early call to `MD4Hash.update()`.
        Optional.
 
    :Return: A `MD4Hash` object
    )r r3)rs rr3r3¨s€ô ‹9=‰=˜Ó Ðrr2)r7ÚCrypto.Util.py3compatrÚCrypto.Util._raw_apirrrrrr    r
rÚobjectr r3r$r8r:rrú<module>r?s`ðñ> õ'÷/÷/ñ/ñ )Ø*ð    ó € ôaˆfôaóH ð×!Ñ!€ ð× Ñ 
r