관리-도구
편집 파일: security.pyc
� ��^c @ s d d d � � YZ d S( t Securityc B s, e Z d � Z d � Z d � Z d � Z RS( c C s d d l } | j } | j d � r1 | d } n� d } | j d � rb | j j | d | � } n | j j | � s� d d l } xE | j D]7 } | j j | | � } | j j | � r� | } Pq� q� Wn y t t | � j � � | _ Wn t k rt d | � n Xd S( Ni����t PYTHON_KEYFILEs .python_keyfilet HOMEs python keyfile %s: cannot open( t ost environt has_keyt patht joint existst syst evalt opent readlinet _keyt IOError( t selfR t envt keyfileR t dirt kf( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyt __init__ s$ c C s d d l } | j d d � S( Ni����id i�� ( t randomt randint( R R ( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyt _generate_challenge s c C s | j | � | k S( N( t _encode_challenge( R t challenget response( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyt _compare_challenge_response s c C s% | j \ } } t t | � | | � S( N( R t powt long( R R t pt m( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyR s ( t __name__t __module__R R R R ( ( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyR s N( ( R ( ( ( s+ /usr/lib64/python2.7/Demo/pdist/security.pyt <module> t