Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
Ë øŠj²ãó>—ddlmZmZmZmZddlZddlZddlmZddlm Z ddl m Z ddl m Z mZmZddlmZdd lmZmZe «Zed k(r dd lmZmZn#ed k(sed k(rdd lmZmZddlmZmZndd lmZmZgd¢Zej>dk(rd„Z d„Z!nd„Z d„Z!dd„Z"d„Z#y)é)Úunicode_literalsÚdivisionÚabsolute_importÚprint_functionN)Údatetimeé)Úbackend)Ú rand_bytes)Ú type_nameÚbyte_clsÚ int_types)Úpretty_message)ÚnewÚderefÚmac)Úpbkdf2Ú pkcs12_kdfÚwinÚ winlegacy)Úkernel32Ú handle_error)Úpbkdf1rÚpbkdf2_iteration_calculatorrÚwin32cóx—ttd«}tj|«}t|«t |«S)NzLARGE_INTEGER *)rrÚQueryPerformanceCounterrr)ÚnumberÚress ú=/opt/nydus/tmp/pip-target-96rp6e1e/lib/python/oscrypto/kdf.pyÚ _get_startr $s1€Ü”XÐ0Ó1ˆÜ×.Ñ.¨vÓ6ˆÜ�SÔÜ�V‹}Ðócó8—t«|z }t|dz «S)Ng@�@)r Úint)ÚstartÚlengths rÚ _get_elapsedr&*s€Ü“ Ñ%ˆÜ�6˜F‘?Ó#Ð#r!có*—tj«S)N)rÚnow©r!rr r /s€Ü�|‰|‹~Ðr!có®—tj«|z }|j|jdzdzz}|jdz }t ||dzz«S)Néiiè)rr(ÚsecondsÚdaysÚ microsecondsr#)r$r%r,Ú millisecondss rr&r&2sS€Ü—‘“ %Ñ'ˆØ—.‘. F§K¡K°"Ñ$4°tÑ$;Ñ<ˆØ×+Ñ+¨gÑ5ˆ Ü�< 7¨WÑ#4Ñ5Ó6Ð6r!cóꇇ‡‡‡‡ ‡ —‰tgd¢«vrttdt‰«««‚t ‰t «st tdt‰«««‚‰dkrttdt‰«««‚t ‰t «st tdt‰«««‚‰dkrttdt‰«««‚tjrttd««‚d Šd jd «Š t‰«Š ˆˆˆˆ ˆˆ ˆfd „}|«}t‰|z d z «Š|«}‰|z Љdkrdnd}tt‰|««}|dkDr|dzdz}|S)aß Runs pbkdf2() twice to determine the approximate number of iterations to use to hit a desired time per run. Use this on a production machine to dynamically adjust the number of iterations as high as you can. :param hash_algorithm: The string name of the hash algorithm to use: "md5", "sha1", "sha224", "sha256", "sha384", "sha512" :param key_length: The length of the desired key in bytes :param target_ms: The number of milliseconds the derivation should take :param quiet: If no output should be printed as attempts are made :return: An integer number of iterations of PBKDF2 using the specified hash that will take at least target_ms )Úsha1Úsha224Úsha256Úsha384Úsha512zz hash_algorithm must be one of "sha1", "sha224", "sha256", "sha384", "sha512", not %s ú? key_length must be an integer, not %s rúC key_length must be greater than 0 - is %s z> target_ms must be an integer, not %s zB target_ms must be greater than 0 - is %s z€ Only a very slow, pure-python version of PBKDF2 is available, making this function useless i'zthis is a testzutf-8có‚•—t«}t‰‰‰‰‰«t|«}‰st‰›d|›d�«d‰z |zS)Nz iterations in Úmsgð?)r rr&Úprint) r$Ú observed_msÚhash_algorithmÚ iterationsÚ key_lengthÚpasswordÚquietÚsaltÚ target_mss €€€€€€€rÚ_measurez-pbkdf2_iteration_calculator.._measure†sCø€Ü“ ˆÜˆ~˜x¨¨z¸:ÔFÜ" 5Ó)ˆ ÙÜ ªZºÐEÔ FØ�Y‰ Ñ,Ð,r!g@i †éýÿÿÿéüÿÿÿi Niˆ)ÚsetÚ ValueErrorrÚreprÚ isinstancer Ú TypeErrorr rÚ pure_pythonÚOSErrorÚencoder r#Úround) r<r>rBr@rCÚfractionÚ round_factorÚresultr=r?rAs ```` @@@rrr9s£þ€ð0œSÒ!QÓRÑRÜœð ô �Ó ó  ó ð ô �j¤)Ô ,Üœð ô �jÓ !ó  ó ð ð�A‚~Üœð ô �Ó ó  ó ð ô �i¤Ô +Üœð ô �iÓ ó  ó ð ð�1‚}Üœð ô �‹Oó  ó ð ô×ÒÜ”nð ó ó ð ð€JØ×&Ñ& wÓ/€HÜ �jÓ !€D÷-ò-ñ‹z€HÜ�Z (Ñ*¨SÑ0Ó1€Já‹z€HؘhÑ&€Jð $ fÒ,‘2°"€LÜ ”�z <Ó0Ó 1€FØ �‚~ؘD‘. DÑ(ˆØ €Mr!c óÀ—t|t«sttdt |«««‚t|t«sttdt |«««‚t|t «sttdt |«««‚|dkrt tdt|«««‚t|t «sttdt |«««‚|dkrt tdt|«««‚|tgd¢«vrt td t|«««‚|d kDr/|td d g«vr t td |t|«f««‚|dkDr#|dk(rt tdt|«««‚tt|«}|||z«j«}td|dz«D]}||«j«}Œ|d|S)aF An implementation of PBKDF1 - should only be used for interop with legacy systems, not new architectures :param hash_algorithm: The string name of the hash algorithm to use: "md2", "md5", "sha1" :param password: A byte string of the password to use an input to the KDF :param salt: A cryptographic random byte string :param iterations: The numbers of iterations to use when deriving the key :param key_length: The length of the desired key in bytes :return: The derived key as a byte string z@ password must be a byte string, not %s z< salt must be a byte string, not %s z? iterations must be an integer, not %s rzC iterations must be greater than 0 - is %s r6r7)Úmd2Úmd5r1zT hash_algorithm must be one of "md2", "md5", "sha1", not %s érSrTzM key_length can not be longer than 16 for %s - is %s ér1zO key_length can not be longer than 20 for sha1 - is %s éN) rIr rJrr r rGrHrFÚgetattrÚhashlibÚdigestÚrange)r<r?rAr=r>ÚalgoÚoutputÚ_s rrr s€ô0 �h¤Ô )Üœð ô�xÓ ó  ó ð ô �dœHÔ %Üœð ô�t‹_ó  ó ð ô �j¤)Ô ,Üœð ô�zÓ "ó  ó ð ð�A‚~Üœð ô �Ó ó  ó ð ô �j¤)Ô ,Üœð ô�zÓ "ó  ó ð ð�A‚~Üœð ô �Ó ó  ó ð ðœSÒ!7Ó8Ñ8Üœð ô �Ó ó  ó ð ð�B‚˜>¬S°%¸°Ó-@Ñ@Üœð ðœT *Ó-Ð .ó  ó ð ð�B‚˜>¨VÒ3Üœð ô �Ó ó  ó ð ô ”7˜NÓ +€DÙ �(˜T‘/Ó "× )Ñ )Ó +€FÜ �1�j 1‘nÓ %ò'ˆÙ�f“×$Ñ$Ó&‰ð'ð �+�:Ð Ðr!)édF)$Ú __future__rrrrÚsysrYrÚr Úutilr Ú_typesr r r Ú_errorsrÚ_ffirrÚ_backendÚ _mac.utilrrÚ _win.utilÚ_win._kernel32rrÚ _openssl.utilÚ__all__Úplatformr r&rrr)r!rúrns�ðçRÓRã ÛÝåÝß2Ñ2Ý#ßñ ‹9€ð ˆuÒß-Ð-Ø �Ò˜( kÒ1ß-ß6Ð6ç1ò €ð‡<�<�7Òòó $ò ò7ódóNer!