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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
Ë
ž¬`iìYãó2—ddlZddlZddlmZddlmZmZmZmZm    Z    m
Z
m Z ddl m Z mZmZmZmZddlmZddlmZddlmZmZmZddlmZmZmZmZed    d
«Z ed d «Z!dd „Z"dd„Z#Gd„de$«Z%d„Z&d„Z'dd„Z(dd„Z)d„Z*d„Z+d„Z,dd„Z-d„Z.d d„Z/y)!éN)Úreduce)ÚtobytesÚbordÚ _copy_bytesÚ
iter_rangeÚtostrÚbchrÚbstr)ÚSHA1ÚSHA256ÚHMACÚCMACÚBLAKE2s)Ústrxor)Úget_random_bytes)ÚsizeÚ long_to_bytesÚ bytes_to_long)Úload_pycryptodome_raw_libÚcreate_string_bufferÚget_raw_bufferÚc_size_tzCrypto.Cipher._Salsa20z–
                    int Salsa20_8_core(const uint8_t *x, const uint8_t *y,
                                       uint8_t *out);
                    zCrypto.Protocol._scrypta 
                    typedef int (core_t)(const uint8_t [64], const uint8_t [64], uint8_t [64]);
                    int scryptROMix(const uint8_t *data_in, uint8_t *data_out,
                           size_t data_len, unsigned N, core_t *core);
                    cób—|st}t|«}|j||z«}|j}||kDrt    d|z«‚t |«dk7rt dt |«z«‚t|dz
«D]!}|j|j««}Œ#|j«d|S)aMDerive one key from a password (or passphrase).
 
    This function performs key derivation according to an old version of
    the PKCS#5 standard (v1.5) or `RFC2898
    <https://www.ietf.org/rfc/rfc2898.txt>`_.
 
    Args:
     password (string):
        The secret password to generate the key from.
     salt (byte string):
        An 8 byte string to use for better protection from dictionary attacks.
        This value does not need to be kept secret, but it should be randomly
        chosen for each derivation.
     dkLen (integer):
        The length of the desired key. The default is 16 bytes, suitable for
        instance for :mod:`Crypto.Cipher.AES`.
     count (integer):
        The number of iterations to carry out. The recommendation is 1000 or
        more.
     hashAlgo (module):
        The hash algorithm to use, as a module or an object from the :mod:`Crypto.Hash` package.
        The digest length must be no shorter than ``dkLen``.
        The default algorithm is :mod:`Crypto.Hash.SHA1`.
 
    Return:
        A byte string of length ``dkLen`` that can be used as key.
    z:Selected hash algorithm has a too short digest (%d bytes).éz,Salt is not 8 bytes long (%d bytes instead).éN)    r rÚnewÚ digest_sizeÚ    TypeErrorÚlenÚ
ValueErrorrÚdigest)ÚpasswordÚsaltÚdkLenÚcountÚhashAlgoÚpHashr!Úis        õfH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\Crypto/Protocol/KDF.pyÚPBKDF1r*9s«€ñ: ܈ܐxÓ €HØ L‰L˜ $™Ó '€EØ × Ñ €FØ ˆv‚~ÜÐTÐW]Ñ]Ó^Ð^Ü
ˆ4ƒyA‚~ÜÐGÌ#ÈdË)ÑSÓTÐTÜ ˜˜a™Ó  ò*ˆØ—    ‘    ˜%Ÿ,™,›.Ó)‰ð*à <‰<‹>˜&˜5Ð !Ð!óc󸇇‡‡
‡ —t‰«Št|«}‰r ‰r td«‚‰€‰€tЉs t‰d«s~‰€ˆfd„Šˆˆfd„Š
d}d}t    |«|krõ‰‰|t j d|«z«gd    zŠ |ttˆ
ˆ fd
„t|«D««z }|dz }t    |«|krŒ^n–d}d}t    |«|kr„tj‰d‰«}|j«j|t j d|«z«j«}    ||j|    |«z }|dz }t    |«|krŒ„|d|S) a²Derive one or more keys from a password (or passphrase).
 
    This function performs key derivation according to the PKCS#5 standard (v2.0).
 
    Args:
     password (string or byte string):
        The secret password to generate the key from.
 
        Strings will be encoded as ISO 8859-1 (also known as Latin-1),
        which does not allow any characters with codepoints > 255.
     salt (string or byte string):
        A (byte) string to use for better protection from dictionary attacks.
        This value does not need to be kept secret, but it should be randomly
        chosen for each derivation. It is recommended to use at least 16 bytes.
 
        Strings will be encoded as ISO 8859-1 (also known as Latin-1),
        which does not allow any characters with codepoints > 255.
     dkLen (integer):
        The cumulative length of the keys to produce.
 
        Due to a flaw in the PBKDF2 design, you should not request more bytes
        than the ``prf`` can output. For instance, ``dkLen`` should not exceed
        20 bytes in combination with ``HMAC-SHA1``.
     count (integer):
        The number of iterations to carry out. The higher the value, the slower
        and the more secure the function becomes.
 
        You should find the maximum number of iterations that keeps the
        key derivation still acceptable on the slowest hardware you must support.
 
        Although the default value is 1000, **it is recommended to use at least
        1000000 (1 million) iterations**.
     prf (callable):
        A pseudorandom function. It must be a function that returns a
        pseudorandom byte string from two parameters: a secret and a salt.
        The slower the algorithm, the more secure the derivation function.
        If not specified, **HMAC-SHA1** is used.
     hmac_hash_module (module):
        A module from ``Crypto.Hash`` implementing a Merkle-Damgard cryptographic
        hash, which PBKDF2 must use in combination with HMAC.
        This parameter is mutually exclusive with ``prf``.
 
    Return:
        A byte string of length ``dkLen`` that can be used as key material.
        If you want multiple keys, just break up this string into segments of the desired length.
    z2'prf' and 'hmac_hash_module' are mutually exlusiveNÚ_pbkdf2_hmac_assistcóN•—tj||‰«j«S©N©r rr!)ÚpÚsÚhmac_hash_modules  €r)ú<lambda>zPBKDF2.<locals>.<lambda>¡sø€œtŸx™x¨¨1Ð.>Ó?×FÑFÓH€r+có>•—|d‰‰|d«c|d<|d<|dS)Nrr©)r2r"Úprfs €€r)ÚlinkzPBKDF2.<locals>.link£s.ø€Ø˜1™™s 8¨Q¨q©TÓ2ˆJˆAˆa‰D!A‘$ؐQ‘4ˆKr+r+rz>Iéc3ó.•K—|] }‰‰«–—Œy­wr/r6)Ú.0Újr8r2s  €€r)ú    <genexpr>zPBKDF2.<locals>.<genexpr>«søèø€Ò"A¨q¡4¨§7Ñ"Aùsƒ)rr r ÚhasattrrÚstructÚpackrrÚranger rÚcopyÚupdater!r-) r"r#r$r%r7r3Úkeyr(ÚbaseÚ first_digestr8r2s `   ``    @@r)ÚPBKDF2rGds_ü€ô`xÓ €HÜ 4‹=€Dá
ÑÜÐMÓNÐNà
€{Ð'Ð/ÜÐá
”'Ð*Ð,AÔBð ˆ;ÛHˆCõ    ðˆØ ˆÜ#‹h˜ÒِX˜t¤f§k¡k°$¸Ó&:Ñ:Ó;Ð<¸qÑ@ˆAØ ”6œ&Ô"A´E¸%³LÔ"AÓBÑ BˆCØ ‰FˆAô#‹h˜ÔðˆØ ˆÜ#‹h˜ÒÜ—8‘8˜H cÐ+;Ó<ˆDØŸ9™9›;×-Ñ-¨d´V·[±[ÀÀqÓ5IÑ.IÓJ×QÑQÓSˆLØ 4×+Ñ+¨L¸%Ó@Ñ @ˆCØ ‰FˆAô    #‹h˜Óð ˆvˆ;Ðr+có:—eZdZdZdd„Zed„«Zd„Zd„Zd„Z    y)    Ú_S2VzÝString-to-vector PRF as defined in `RFC5297`_.
 
    This class implements a pseudorandom function family
    based on CMAC that takes as input a vector of strings.
 
    .. _RFC5297: http://tools.ietf.org/html/rfc5297
    NcóΗtdd|«|_||_d|jzx|_|_|jdzdz
|_|€i|_yt|«|_y)a~Initialize the S2V PRF.
 
        :Parameters:
          key : byte string
            A secret that can be used as key for CMACs
            based on ciphers from ``ciphermod``.
          ciphermod : module
            A block cipher module from `Crypto.Cipher`.
          cipher_params : dictionary
            A set of extra parameters to use to create a cipher instance.
        Nórr)    rÚ_keyÚ
_ciphermodÚ
block_sizeÚ _last_stringÚ_cacheÚ
_n_updatesÚ_cipher_paramsÚdict)ÚselfrDÚ    ciphermodÚ cipher_paramss    r)Ú__init__z _S2V.__init__Äsi€ô   d¨CÓ0ˆŒ    Ø#ˆŒØ*1°I×4HÑ4HÑ*HÐHˆÔ˜DœKð$×.Ñ.°Ñ2°QÑ6ˆŒà Ð  Ø"$ˆDÕ ä"& }Ó"5ˆDÕ r+có—t||«S)a Create a new S2V PRF.
 
        :Parameters:
          key : byte string
            A secret that can be used as key for CMACs
            based on ciphers from ``ciphermod``.
          ciphermod : module
            A block cipher module from `Crypto.Cipher`.
        )rI)rDrUs  r)rz_S2V.newÝs€ôC˜Ó#Ð#r+cóŽ—t|«dz}t|d«dzr|dz}t|t|««t|« dS)Nrré€é‡)rrrr)rTÚbsÚdoubleds   r)Ú_doublez _S2V._doubleêsH€Ü Ó# qÑ(ˆÜ 1‘‹;˜Ò Ø t‰OˆGܘW¤c¨"£gÓ.´°B³¨x¨yÐ9Ð9r+cóx—|jdk(r td«‚|xjdzc_tj|j|j
|j |j¬«}t|j|j«|j««|_
tdd|«|_y)adPass the next component of the vector.
 
        The maximum number of components you can pass is equal to the block
        length of the cipher (in bits) minus 1.
 
        :Parameters:
          item : byte string
            The next component of the vector.
        :Raise TypeError: when the limit on the number of components has been reached.
        rz!Too many components passed to S2Vr©ÚmsgrUrVN) rQrrrrLrOrMrRrr^rPr!r)rTÚitemÚmacs   r)rCz _S2V.updateðs‹€ð ?‰?˜aÒ ÜÐ?Ó@Ð @Ø Š˜1эäh‰ht—y‘yØ×,Ñ,Ø!%§¡Ø%)×%8Ñ%8ô:ˆô˜TŸ\™\¨$¯+©+Ó6¸¿
¹
» ÓEˆŒ Ü'¨¨d°DÓ9ˆÕr+cóœ—t|j«dk\r4|jddt|jdd|j«z}n:|jdzdzdd}t||j    |j««}t j |j||j|j¬«}|j«S)z„"Derive a secret from the vector of components.
 
        :Return: a byte string, as long as the block length of the cipher.
        éNiðÿÿÿó€sr`) rrOrrPr^rrrLrMrRr!)rTÚfinalÚpaddedrcs    r)Úderivez _S2V.derives²€ô ˆt× Ñ Ó ! RÒ 'à×%Ñ% d sÐ+¬f°T×5FÑ5FÀsÀtÐ5LÈdÏkÉkÓ.ZÑZ‰Eð×'Ñ'¨'Ñ1°LÑ@À#À2ÐFˆFܘ6 4§<¡<°· ± Ó#<Ó=ˆE܏h‰ht—y‘yØ Ø!%§¡Ø%)×%8Ñ%8ô:ˆðz‰z‹|Ðr+r/)
Ú__name__Ú
__module__Ú __qualname__Ú__doc__rWÚ staticmethodrr^rCrir6r+r)rIrI»s/„ñó6ð2ñ
$óð
$ò:ò :ó.r+rIcóR—tj|||¬«j«}|S)N©Ú    digestmodr0)r#ÚikmÚhashmodÚprks    r)Ú _HKDF_extractrus"€Ü
(‰(4˜¨Ô
9€CØ €Jr+có"—dg}d}d}||krntj||d|ztjd|«z|¬«}|j    |j ««||j z }|dz }||krŒndj|«}|d|S)Nr+rréÿÿÿÿÚBrp)r rr?r@Úappendr!rÚjoin)    rtÚinfoÚLrsÚtÚnÚtlenÚhmacÚokms             r)Ú _HKDF_expandr‚ s’€Ø     ˆ€AØ    €AØ €DØ
Š(܏x‰x˜˜Q˜r™U T™\¬F¯K©K¸¸QÓ,?Ñ?È7ÔSˆØ    ‰—‘“ÔØ ×#Ñ#Ñ#ˆØ    ˆQ‰ˆð     ‹(ð
(‰(1‹+€CØ ˆrˆ7€Nr+có —||z}|d|jzkDr td«‚|sd|jz}|€d}t|||«}t||||«}|dk(r|d|St    d||«D    cgc]
}    ||    |    |z‘Œ }
}    t |
d|«Scc}    w)a“Derive one or more keys from a master secret using
    the HMAC-based KDF defined in RFC5869_.
 
    Args:
     master (byte string):
        The unguessable value used by the KDF to generate the other keys.
        It must be a high-entropy secret, though not necessarily uniform.
        It must not be a password.
     key_len (integer):
        The length in bytes of every derived key.
     salt (byte string):
        A non-secret, reusable value that strengthens the randomness
        extraction step.
        Ideally, it is as long as the digest size of the chosen hash.
        If empty, a string of zeroes in used.
     hashmod (module):
        A cryptographic hash algorithm from :mod:`Crypto.Hash`.
        :mod:`Crypto.Hash.SHA512` is a good choice.
     num_keys (integer):
        The number of keys to derive. Every key is :data:`key_len` bytes long.
        The maximum cumulative length of all keys is
        255 times the digest size.
     context (byte string):
        Optional identifier describing what the keys are used for.
 
    Return:
        A byte string or a tuple of byte strings.
 
    .. _RFC5869: http://tools.ietf.org/html/rfc5869
    éÿzToo much secret data to deriverKNr+rr)rr rur‚rÚlist) ÚmasterÚkey_lenr#rsÚnum_keysÚcontextÚ
output_lenrtrÚidxÚkols            r)ÚHKDFr-sÀð@˜8Ñ#€JؐS˜7×.Ñ.Ñ.Ò/ÜÐ9Ó:Ð:٠ؘ×,Ñ,Ñ,ˆØ€Øˆä
˜˜f gÓ
.€CÜ
s˜G Z°Ó
9€Cà1‚}ؐ8Gˆ}Ðä   J°Ó8ö :Øð ˆs3˜‘=Ò !ð :€Cð :ä IXÓ Ðùò :sÁ,B c    ót—dt|«dz
z|k7r td«‚|dk\r td«‚|dd|zzkDr td«‚d    „}t|||dz|zd|¬
«}tj}    t
j }
g} t|«D]X} | dz|z} td|z«}|    || | d|zz|td|z«||
«}|rtd |z«‚| t|«gz } ŒZt|d j| «||zd|¬
«}|dk(r|Std ||z|«D cgc]
} || | |z‘Œ }} |Scc} w)uGDerive one or more keys from a passphrase.
 
    Args:
     password (string):
        The secret pass phrase to generate the keys from.
     salt (string):
        A string to use for better protection from dictionary attacks.
        This value does not need to be kept secret,
        but it should be randomly chosen for each derivation.
        It is recommended to be at least 16 bytes long.
     key_len (integer):
        The length in bytes of each derived key.
     N (integer):
        CPU/Memory cost parameter. It must be a power of 2 and less
        than :math:`2^{32}`.
     r (integer):
        Block size parameter.
     p (integer):
        Parallelization parameter.
        It must be no greater than :math:`(2^{32}-1)/(4r)`.
     num_keys (integer):
        The number of keys to derive. Every key is :data:`key_len` bytes long.
        By default, only 1 key is generated.
        The maximum cumulative length of all keys is :math:`(2^{32}-1)*32`
        (that is, 128TB).
 
    A good choice of parameters *(N, r , p)* was suggested
    by Colin Percival in his `presentation in 2009`__:
 
    - *( 2¹⁴, 8, 1 )* for interactive logins (≤100ms)
    - *( 2²⁰, 8, 1 )* for file encryption (≤5s)
 
    Return:
        A byte string or a tuple of byte strings.
 
    .. __: http://www.tarsnap.com/scrypt/scrypt-slides.pdf
    r9rzN must be a power of 2lz N is too biglàÿrZzp or r are too bigcóT—tj||t«j«Sr/)r rr r!)r1r2s  r)r4zscrypt.<locals>.<lambda>s€¤4§8¡8¨A¨q´&Ó#9×#@Ñ#@Ó#B€r+)r7zError %X while running scryptr+r) Úbit_sizer rGÚ_raw_scrypt_libÚ scryptROMixÚ_raw_salsa20_libÚSalsa20_8_corerrrrrz)r"r#r‡ÚNÚrr1rˆÚprf_hmac_sha256Ústage_1r’ÚcoreÚdata_outÚflowr‹Ú
buffer_outÚresultÚdkrŒs                  r)ÚscryptrŸ_s“€ðN    ŒXa‹[˜1‰_Ñ Ò"ÜÐ1Ó2Ð2؈G‚|ܘÓ(Ð(ØÐ  C¨!¡GÑ ,Ò,ÜÐ-Ó.Ð.áB€OäX˜t Q¨¡W¨q¡[°!¸ÔI€Gä!×-Ñ-€KÜ × *Ñ *€Dð€Hܘ1“ ò
1ˆØS‰j˜1‰nˆÜ)¨#°©'Ó2ˆ
Ù˜W S¨#°°a±©-Ð8Ø'Ü% c¨A¡gÓ.ØØ!ó    #ˆñ
ÜÐ<¸vÑEÓFÐ FØ”^ JÓ/Ð0Ñ0‰ð
1ô
Ø—‘˜Ó"ؘ(Ñ" AØ#ô
%€Bð
1‚}؈    ô!  G¨hÑ$6¸Ó@ö BØð ˆc#˜‘-Ò  ð B€Cð Bà €Jùò BsÄ"D5có—d}g}|D]B}tt|««ddjd«}|jt    |««ŒDdj |«}t dt|«d«Dcgc]
}|||dz‘Œ }}g}|ddD]"}t|d«}|j||«Œ$|d}t|d«dt|«z
z}|j||«dj |«}t|«Scc}w)    Nú@./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789r9rr+rérwÚ)
ÚbinrÚzfillryr
rzrArÚintr)    Údatar2ÚbitsÚcÚbits_cr‹Úbits6rÚgs             r)Ú_bcrypt_encoder­¯s€ØJ€Aà €DØ ò"ˆÜ”T˜!“W“˜a˜bÐ!×'Ñ'¨Ó*ˆØ  ‰ ”D˜“LÕ!ð"ð 8‰8D‹>€Dä(-¨a´°T³¸AÓ(>Ö ? ˆT#c˜!‘eŠ_Ð ?€EÐ ?à €FØ 3BˆZòˆÜ!Q‹iˆØ ‰ a˜‘fÕðð    ˆb‰    €AÜ
ˆa‹)˜œC ›F™
Ñ
#€CØ
‡MM!C‘&ÔØ W‰WV‹_€Fä 6‹?Ðùò @sÁ5Dc    ó —d}g}t|«D]A}|j|«}t|«ddjd«}|j    |«ŒCdj |«}t |«dz}|dk(r td«‚|dk(r|dd}n
|d    k(r|dd
}td t |«d «Dcgc]
}|||d z‘Œ }}g}|D]&}    |j    tt|    d«««Œ(d j |«}|Scc}w)Nr¡r9r¢r£érzIncorrect lengthéüÿÿÿééþÿÿÿrrr+) rÚfindr¤r¥ryrzrr rAr    r¦)
r§r2r¨r©r‹r«Úmodulo4Úbits8rr¬s
          r)Ú_bcrypt_decoder¶Çs€ØJ€Aà €DÜ 4‹[òˆØf‰fQ‹iˆÜC“˜˜ ×"Ñ" 1Ó%ˆØ  ‰ EÕðð 7‰74‹=€Dä$‹i˜!‰m€Gؐ!‚|ÜÐ+Ó,Ð,Ø    AŠØCRˆy‰Ø    AŠØCRˆyˆä(-¨a´°T³¸AÓ(>Ö ? ˆT#c˜!‘eŠ_Ð ?€EÐ ?à €FØ ò'ˆØ ‰ ”dœ3˜q !›9“oÕ&ð'à X‰XfÓ €Fà €Mùò @sÂ0Dcó —ddlm}t|«dkDr td«‚d|cxkrdkstd«‚td«‚|j    ||j
|||«}|}t d«D]}|j|«}Œ|S)    Nr)Ú _EKSBlowfishéHz6The password is too long. It must be 72 bytes at most.r¯éz-bcrypt cost factor must be in the range 4..31é@)Ú Crypto.Cipherr¸rr rÚMODE_ECBrAÚencrypt)    r"Úcostr#ÚconstantÚinvertr¸ÚcipherÚctextÚ_s             r)Ú _bcrypt_hashrÅãsŽ€Ý*ä
ˆ8ƒ}rÒÜÐQÓRÐRà ŒO˜ŠOÜÐHÓIÐIð ÜÐHÓIÐIà × Ñ ˜h¨ ×(=Ñ(=¸tÀTÈ6Ó R€FØ €EÜ 2‹Yò&ˆØ—‘˜uÓ%‰ð&à €Lr+cóš—t|d«}|jtd«d«dk7r td«‚t    |«dkr|dz }|€ t d«}t    |«dk7r td    «‚t |||d
d «}d tt|«jd ««z}d t|«z}t|dd«}d|z|z|zS)a>Hash a password into a key, using the OpenBSD bcrypt protocol.
 
    Args:
      password (byte string or string):
        The secret password or pass phrase.
        It must be at most 72 bytes long.
        It must not contain the zero byte.
        Unicode strings will be encoded as UTF-8.
      cost (integer):
        The exponential factor that makes it slower to compute the hash.
        It must be in the range 4 to 31.
        A value of at least 12 is recommended.
      salt (byte string):
        Optional. Random byte string to thwarts dictionary and rainbow table
        attacks. It must be 16 bytes long.
        If not passed, a random value is generated.
 
    Return (byte string):
        The bcrypt hash
 
    Raises:
        ValueError: if password is longer than 72 bytes or if it contains the zero byte
 
   zutf-8rrwz#The password contains the zero byter¹rKNrez!bcrypt salt must be 16 bytes longsOrpheanBeholderScryDoubtTó$r9s$2a) rr³r    r rrrÅr
Ústrr¥r­)r"r¿r#rÃÚcost_encÚsalt_encÚhash_encs       r)ÚbcryptrÌósԀô4x Ó)€Hà‡}}”T˜!“W˜Q‘ZÓ  BÒ&ÜÐ>Ó?Ð?ä
ˆ8ƒ}rÒØGÑˆà €|Ü Ó#ˆÜ
ˆ4ƒyB‚ÜÐ<Ó=Ð=ä ˜ 4¨Ð/JÈDÓ Q€Eà”dœ3˜t›9Ÿ?™?¨1Ó-Ó.Ñ.€HØ”n TÓ*Ñ*€Hܘe C R˜jÓ)€HØ HÑ ˜xÑ '¨(Ñ 2Ð2r+có„—t|«}t|«dk7rtdt|«z«‚|dddk7r td«‚tjd«}|j |«}|s td«‚t |jd    ««}d|cxkrd
kstd «‚td «‚t|jd ««}t|||«}td «}tjd||¬«j«}tjd||¬«j«}    ||    k7r td«‚y)aéVerify if the provided password matches the given bcrypt hash.
 
    Args:
      password (byte string or string):
        The secret password or pass phrase to test.
        It must be at most 72 bytes long.
        It must not contain the zero byte.
        Unicode strings will be encoded as UTF-8.
      bcrypt_hash (byte string, bytearray):
        The reference bcrypt hash the password needs to be checked against.
 
    Raises:
        ValueError: if the password does not match
    é<z;Incorrect length of the bcrypt hash: %d bytes instead of 60Nr¯s$2a$zUnsupported prefixs@\$2a\$([0-9][0-9])\$([A-Za-z0-9./]{22,22})([A-Za-z0-9./]{31,31})zIncorrect bcrypt hash formatrrºzIncorrect costr9reé )Ú digest_bitsrDr§zIncorrect bcrypt hash)rrr ÚreÚcompileÚmatchr¦Úgroupr¶rÌrrrr!)
r"Ú bcrypt_hashr1r–r¿r#Ú bcrypt_hash2ÚsecretÚmac1Úmac2s
          r)Ú bcrypt_checkrÚ"s*€ô ˜+Ó&€Kä
ˆ;Ó˜2ÒÜÐVÔY\Ð]hÓYiÑiÓjÐjà2A€˜'Ò!ÜÐ-Ó.Ð.ä

‰
ÐWÓX€AØ    ‰ Ó€AÙ ÜÐ7Ó8Ð8ä ˆqw‰wq‹z‹?€DØ ŒO˜ŠOÜÐ)Ó*Ð*ð ÜÐ)Ó*Ð*ä ˜!Ÿ'™' !›*Ó %€Dä˜( D¨$Ó/€Lä ˜bÓ !€Fä ;‰; 3¨F¸Ô E× LÑ LÓ N€DÜ ;‰; 3¨F¸Ô F× MÑ MÓ O€DØ ˆt‚|ÜÐ0Ó1Ð1ðr+cóŒ—|€d}|jd«dk7r td«‚t||zdzd«}||z}d}d}    t|    «|krHt|d«|zdz|z|z}
|    |||
«z }    |dz }|d    kDr td
«‚t|    «|krŒH|dk(r|    d|St    d ||«D cgc]
} |    | | |z‘Œ } } | Scc} w) aJDerive one or more keys from a master secret using
    a pseudorandom function in Counter Mode, as specified in
    `NIST SP 800-108r1 <https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-108r1.pdf>`_.
 
    Args:
     master (byte string):
        The secret value used by the KDF to derive the other keys.
        It must not be a password.
        The length on the secret must be consistent with the input expected by
        the :data:`prf` function.
     key_len (integer):
        The length in bytes of each derived key.
     prf (function):
        A pseudorandom function that takes two byte strings as parameters:
        the secret and an input. It returns another byte string.
     num_keys (integer):
        The number of keys to derive. Every key is :data:`key_len` bytes long.
        By default, only 1 key is derived.
     label (byte string):
        Optional description of the purpose of the derived keys.
        It must not contain zero bytes.
     context (byte string):
        Optional information pertaining to
        the protocol that uses the keys, such as the identity of the
        participants, nonces, session IDs, etc.
        It must not contain zero bytes.
 
    Return:
        - a byte string (if ``num_keys`` is not specified), or
        - a tuple of byte strings (if ``num_key`` is specified).
    NrrKrwzNull byte found in contextrr¯r+lÿÿzOverflow in SP800 108 counterr)r³r rrr) r†r‡r7rˆÚlabelr‰Ú key_len_encrŠr(ržr{r‹rŒs              r)ÚSP800_108_CounterrÞOs€ðBÐØˆà‡||GÓ Ò"ÜÐ5Ó6Ð6ä ¨(Ñ 2°QÑ 6¸Ó:€Kؘ8Ñ#€Jà    €AØ     €BÜ
ˆb‹'JÒ
ܘQ Ó" UÑ*¨WÑ4°wÑ>ÀÑLˆØ
‰c&˜$Óшؠ   ˆQ‰ˆØ ˆzŠ>ÜÐ<Ó=Ð =ô ˆb‹'JÓ
ð1‚}ؐ(7ˆ|Ðô% Q¨
°GÓ<ö>Øð#c˜G‘mÒ$ð>ˆð>àˆ
ùò>sÂ.C)éèN)rerßNN)rN)rr/)Nr+r+)0rÑr?Ú    functoolsrÚCrypto.Util.py3compatrrrrrr    r
Ú Crypto.Hashr r r rrÚCrypto.Util.strxorrÚ Crypto.RandomrÚCrypto.Util.numberrrrrÚCrypto.Util._raw_apirrrrr“r‘r*rGÚobjectrIrur‚rrŸr­r¶rÅrÌrÚrÞr6r+r)ú<module>rès¹ðó2
Û Ý÷6÷6ñ6÷:Õ9Ý%Ý*ßMÑM÷<ó<ñ-Ø,ðóÐñ,Ø-ðó€ó("óVTôn]ˆ6ô]ò@ò
 
ó/ ódMò`ò0ò8 ó ,3ò^*2ôZ8r+