KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/test/test_hmac.pyc
mς
‚=5Dc@s±dkZdkZdkZdklZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd	„ƒYZ	d
„Z
edjoe
ƒndS(N(stest_supporttTestVectorsTestCasecBstZd„Zd„ZRS(Ncsω‡d†}|tdƒdddƒ|dddƒ|td	ƒdtd
ƒddƒ|d
ig}tddƒD]}|t|ƒqw~ƒtdƒddƒ|tdƒdddƒ|td	ƒdddƒ|td	ƒdddƒdS(Ncs8ti||ƒ}ˆi|iƒiƒ|iƒƒdS(N(
thmactHMACtkeytdatathtselftassertEqualt	hexdigesttuppertdigest(RRR
R(R(t&/usr/lib64/python2.4/test/test_hmac.pytmd5testsiisHi Theret 9294727A3638BB1C13F48EF8158BFC9DtJefeswhat do ya want for nothing?t 750c783e6ab0b503eaa86e310a5db738iͺiέi2t 56be34521d144c88dbb8c733f0e8b3f6tiiiΝt 697eaf0aca3a3aea3a75164746ffaa79isTest With Truncationt 56461ef2342edc00f9bab995690efd4ciPs6Test Using Larger Than Block-Size Key - Hash Key Firstt 6b1ab7fe4bd7bf8f0b62e6ce61b9d0cdsITest Using Larger Than Block-Size Key and Larger Than One Block-Size Datat 6f630fad67cda0ee1fb1f562db3aa53e(Rtchrtjoint_[1]trangeti(RRRR((RRttest_md5_vectorss,
9
csω‡d†}|tdƒdddƒ|dddƒ|td	ƒdtd
ƒddƒ|d
ig}tddƒD]}|t|ƒqw~ƒtdƒddƒ|tdƒdddƒ|td	ƒdddƒ|td	ƒdddƒdS(Ncs>ti||dtƒ}ˆi|iƒi	ƒ|i	ƒƒdS(Nt	digestmod(RRRRtshaRRRRR	R
(RRR
R(R(Rtshatest-siisHi Theret(b617318655057264e28bc0b6fb378c8ef146be00Rswhat do ya want for nothing?t(effcdf6ae5eb2fa2d27416d5f184df9c259a7c79iͺiέi2t(125d7342b9ac11cd91a39af48aa17b4f63f175d3RiiiΝt(4c9007f4026250c6bc8414f9bf50c86c2d7235daisTest With Truncationt(4c1a03424b55e07fe7f27be1d58bb9324a9a5a04iPs6Test Using Larger Than Block-Size Key - Hash Key Firstt(aa4ae5e15272d00e95705637ce8a3b55ed402112sITest Using Larger Than Block-Size Key and Larger Than One Block-Size Datat(e8e99d0f45237d786d6bbaa7965c7808bbff1a91(RRRRRR(RRRR((RRttest_sha_vectors,s,
9
(t__name__t
__module__RR&(((RRs	$tConstructorTestCasecBs#tZd„Zd„Zd„ZRS(NcCs4d}ytidƒ}Wn|idƒnXdS(NiRs+Standard constructor call raised exception.(tfailedRRRRtfail(RR*R((Rttest_normalQs
cCs1ytiddƒ}Wn|idƒnXdS(NRs
hash this!s5Constructor call with text argument raised exception.(RRRRR+(RR((Rt
test_withtextYscCs=dk}ytidd|ƒ}Wn|idƒnXdS(NRRs2Constructor call with sha module raised exception.(RRRRRR+(RRR((Rttest_withmodule`s
	(R'R(R,R-R.(((RR)Os		tSanityTestCasecBstZd„Zd„ZRS(NcCs2dk}tidƒ}|i|i|jƒdS(NR(tmd5RRRRt
failUnlessR(RRR0((Rttest_default_is_md5js	cCs_yDtidƒ}|idƒ|iƒ}|iƒ}|iƒ}Wn|i
dƒnXdS(Ns
my secret keyscompute the hash of this text!s3Exception raised during normal usage of HMAC class.(RRRtupdateR
tdigRtcopyth2RR+(RR6RR4((Rttest_exercise_all_methodsps
(R'R(R2R7(((RR/hs	tCopyTestCasecBs#tZd„Zd„Zd„ZRS(NcCs‹tidƒ}|iƒ}|i|i|ijdƒ|it|i	ƒt|i	ƒjdƒ|it|i
ƒt|i
ƒjdƒdS(NRsModules don't match.sTypes of inner don't match.sTypes of outer don't match.(RRth1R5R6RR1Rttypetinnertouter(RR6R9((Rttest_attributes~s!!cCs‘tidƒ}|iƒ}|it|ƒt|ƒjdƒ|it|iƒt|iƒjdƒ|it|i	ƒt|i	ƒjdƒdS(NRs"No real copy of the HMAC instance.s&No real copy of the attribute 'inner'.s&No real copy of the attribute 'outer'.(
RRR9R5R6RR1tidR;R<(RR6R9((Rt
test_realcopy‰s"!!cCsptidƒ}|idƒ|iƒ}|i|iƒ|iƒjdƒ|i|i	ƒ|i	ƒjdƒdS(NRssome random texts-Digest of copy doesn't match original digest.s3Hexdigest of copy doesn't match original hexdigest.(
RRR9R3R5R6RR1R
R(RR6R9((Rt
test_equality”s
(R'R(R=R?R@(((RR8|s		cCstittttƒdS(N(ttest_supporttrun_unittestRR)R/R8(((Rt	test_mainžs	t__main__(RRtunittestttestRAtTestCaseRR)R/R8RCR'(	RAR/RERRCR)RRR8((Rt?s			
I"	


Anon7 - 2021