Current File : //usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyo |
�
�/�Oc @ sz d Z d d l Z d d l m Z d d l Te d � Z d e j f d � � YZ i d � Z e
d k rv e j � n d S(
s $Id$i����N( t AllOrNothing( t *s& When in the Course of human events, it becomes necessary for one people to
dissolve the political bands which have connected them with another, and to
assume among the powers of the earth, the separate and equal station to which
the Laws of Nature and of Nature's God entitle them, a decent respect to the
opinions of mankind requires that they should declare the causes which impel
them to the separation.
We hold these truths to be self-evident, that all men are created equal, that
they are endowed by their Creator with certain unalienable Rights, that among
these are Life, Liberty, and the pursuit of Happiness. That to secure these
rights, Governments are instituted among Men, deriving their just powers from
the consent of the governed. That whenever any Form of Government becomes
destructive of these ends, it is the Right of the People to alter or to
abolish it, and to institute new Government, laying its foundation on such
principles and organizing its powers in such form, as to them shall seem most
likely to effect their Safety and Happiness.
t AllOrNothingTestc B s e Z d � Z RS( c C s� d d l m } d d l } x` t d � D]R } t j | � } | j t � } t j | � } | j | � } | j t | � q) Wd S( s Simple test of AllOrNothingi����( t AESNi2 ( t
Crypto.CipherR t base64t rangeR t digestt textt undigestt assertEqual( t selfR R t it xt msgblockst yt text2( ( sP /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyt runTest5 s ( t __name__t
__module__R ( ( ( sP /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyR 3 s c C s
t � g S( N( R ( t config( ( sP /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyt get_testsH s t __main__( t __revision__t unittestt Crypto.ProtocolR t Crypto.Util.py3compatt bR t TestCaseR R R t main( ( ( sP /usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyt <module> s