| Server IP : 118.27.122.248 / Your IP : 216.73.217.6 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/lib64/python2.7/test/ |
Upload File : |
�
�q2_c @ s� d d l Z d d l m Z d d l Z e j d � Z e j j d � r[ e j d � � n d e j f d � � YZ
d � Z e d k r� e � n d S(
i����N( t test_supportt cryptt openbsds0 The only supported method on OpenBSD is Blowfisht
CryptTestCasec B s, e Z d � Z d � Z d � Z d � Z RS( c C sG t j d d � } | d k rC t j d | � } | j | | � n d S( Nt
mypasswordt ab( R t Nonet assertEqual( t selft crt cr2( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt
test_crypt s c C sl | j t t j � d � xL t j D]A } t j | � } | j t | � | j | j r\ d n d � q# Wd S( Ni@ i i ( R t lenR t
_saltcharst methodst mksaltt
salt_charst ident( R t methodt salt( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt test_salt s
c C sw xp t j D]e } t j d | � } | j t | � | j � t j d t j | � � } | j t | � | j � q
Wd S( Nt assword( R R R R t
total_sizeR ( R R t pw( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt test_saltedcrypt s
c C s: | j t t j � d k � | j t j t j d � d S( Ni i����( t
assertTrueR R R R t METHOD_CRYPT( R ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt test_methods s ( t __name__t
__module__R R R R ( ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyR
s c C s t j t � d S( N( R t run_unittestR ( ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt test_main% s t __main__(
t syst testR t unittestt
import_moduleR t platformt
startswitht SkipTestt TestCaseR R R ( ( ( s4 /opt/alt/python27/lib64/python2.7/test/test_crypt.pyt <module> s