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
Ë
ž¬`iÓãóL—ddlmZmZmZmZmZmZedd«Zdd„Zdd„Z    d„Z
y)    é)Úload_pycryptodome_raw_libÚc_size_tÚcreate_string_bufferÚget_raw_bufferÚ c_uint8_ptrÚis_writeable_bufferzCrypto.Util._strxoray
                    void strxor(const uint8_t *in1,
                                const uint8_t *in2,
                                uint8_t *out, size_t len);
                    void strxor_c(const uint8_t *in,
                                  uint8_t c,
                                  uint8_t *out,
                                  size_t len);
                    Nc
ó¦—t|«t|«k7r td«‚|€tt|««}nF|}t|«s t    d«‚t|«t|«k7rtdt|«z«‚t
j t|«t|«t|«tt|«««|€ t|«Sy)ažFrom two byte strings of equal length,
    create a third one which is the byte-by-byte XOR of the two.
 
    Args:
      term1 (bytes/bytearray/memoryview):
        The first byte string to XOR.
      term2 (bytes/bytearray/memoryview):
        The second byte string to XOR.
      output (bytearray/memoryview):
        The location where the result will be written to.
        It must have the same length as ``term1`` and ``term2``.
        If ``None``, the result is returned.
    :Return:
        If ``output`` is ``None``, a new byte string with the result.
        Otherwise ``None``.
 
    .. note::
        ``term1`` and ``term2`` must have the same length.
    z.Only byte strings of equal length can be xoredNú4output must be a bytearray or a writeable memoryviewú9output must have the same length as the input  (%d bytes))
ÚlenÚ
ValueErrorrrÚ    TypeErrorÚ _raw_strxorÚstrxorrrr)Úterm1Úterm2ÚoutputÚresults    õeH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\Crypto/Util/strxor.pyrr0sĀô* ˆ5ƒz”S˜“ZÒÜÐIÓJÐJà €~Ü%¤c¨%£jÓ1‰ðˆä" 6Ô*ÜÐRÓSÐ Sä ˆu‹:œ˜V›Ò $Üð,Ü.1°%«jñ9ó:ð :ô×Ñ”{ 5Ó)Ü" 5Ó)Ü" 6Ó*ܤ E£
Ó+ô-ð
€~ܘfÓ%Ð%àóc
ó”—d|cxkrdkstd«‚td«‚|€tt|««}nF|}t|«s t    d«‚t|«t|«k7rtdt|«z«‚t
j t|«|t|«tt|«««|€ t|«Sy)a~From a byte string, create a second one of equal length
    where each byte is XOR-red with the same value.
 
    Args:
      term(bytes/bytearray/memoryview):
        The byte string to XOR.
      c (int):
        Every byte in the string will be XOR-ed with this value.
        It must be between 0 and 255 (included).
      output (None or bytearray/memoryview):
        The location where the result will be written to.
        It must have the same length as ``term``.
        If ``None``, the result is returned.
 
    Return:
        If ``output`` is ``None``, a new ``bytes`` string with the result.
        Otherwise ``None``.
    rézc must be in range(256)Nr
r )
r rr rrrÚstrxor_crrr)ÚtermÚcrrs    rrr`sˀð( Œ<CŠ<ÜÐ2Ó3Ð3ð ÜÐ2Ó3Ð3à €~Ü%¤c¨$£iÓ0‰ðˆä" 6Ô*ÜÐRÓSÐ Sä ˆt‹9œ˜F› Ò #Üð,Ü.1°$«iñ8ó9ð 9ô×Ñœ TÓ*ØÜ$ VÓ,Ü!¤# d£)Ó,ôð €~ܘfÓ%Ð%àrc
óX—tj|||tt|«««y)z!Very fast XOR - check conditions!N)rrrr )rrrs   rÚ_strxor_directrs€ä×ѐu˜e V¬X´c¸%³jÓ-AÕBr)N) ÚCrypto.Util._raw_apirrrrrrrrrr©rrú<module>r s7ð÷>D÷Dñ(Ø)ðó
€ ó-ó`-ó`Cr