403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/Crypto/SelfTest/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyc
ó
T:´Nc@sšdZdZddlZddlZddlmZdefd„ƒYZdddddd„Zid	„Z	e
d
kr–d„Zejdd
ƒndS(sgSelf tests

These tests should perform quickly and can ideally be used every time an
application runs.
s$Id$iÿÿÿÿN(tStringIOt
SelfTestErrorcBseZd„ZRS(cCs)tj|||ƒ||_||_dS(N(t	Exceptiont__init__tmessagetresult(tselfRR((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyR&s	(t__name__t
__module__R(((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyR%sic	Ks|dkri}ntjƒ}|dkr[|dkrKtd|ƒ}n|j|ƒn4|dkrƒ|j|jd|ƒƒntdƒ‚|dkr«tƒ|d<ntjd||}|j|ƒ}|j	ƒs|dkrt
jj|j
ƒƒntd|ƒ‚n|S(s6Execute self-tests.

    This raises SelfTestError if any test is unsuccessful.

    You may optionally pass in a sub-module of SelfTest if you only want to
    perform some of the tests.  For example, the following would test only the
    hash modules:

        Crypto.SelfTest.run(Crypto.SelfTest.Hash)

    tconfigs5'module' and 'tests' arguments are mutually exclusivetstreamt	verbositysSelf-test failedN(tNonetunittestt	TestSuitet	get_teststaddTestst
ValueErrorRtTextTestRunnertrunt
wasSuccessfultsyststderrtwritetgetvalueR(	tmoduleRR
ttestsR	tkwargstsuitetrunnerR((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyR+s&	cCsîg}ddlm}||jd|ƒ7}ddlm}||jd|ƒ7}ddlm}||jd|ƒ7}ddlm}||jd|ƒ7}ddlm}||jd|ƒ7}ddlm}||jd|ƒ7}|S(	Niÿÿÿÿ(tCipherR	(tHash(tProtocol(t	PublicKey(tRandom(tUtil(tCrypto.SelfTestRRRR R!R"R#(R	RRRR R!R"R#((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyRMst__main__cCstjtƒƒS(N(R
RR(((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyt<lambda>XstdefaultTestR(
t__doc__t__revision__RR
RRRRRRRRtmain(((s</usr/lib/python2.7/dist-packages/Crypto/SelfTest/__init__.pyt<module>s"
	

Youez - 2016 - github.com/yon3zu
LinuXploit