Current path: home/fresvfqn/waterdamagerestorationgerritsenbeach.com/
ā¬ļø Go up: fresvfqn
lib64/python2.7/crypt.pyc 0000644 00000005620 15053322106 0011112 0 ustar 00 ļæ½
zfc @ sW d Z d d l Z d d l Z d d l m Z d d l m Z e j
e j d Z e ļæ½ Z
d e d d ļæ½ f d ļæ½ ļæ½ YZ d d ļæ½ Z d d
ļæ½ Z e d d d d
ļæ½ Z e d d d d ļæ½ Z e d d d d ļæ½ Z e d d d d ļæ½ Z g Z xQ e e e f D]@ Z e d e ļæ½ Z e rļæ½ e e ļæ½ e j k rļæ½ e j e ļæ½ qļæ½ qļæ½ We j e ļæ½ [ [ d S( sļæ½ Wrapper to the POSIX crypt library call and associated functionality.
Note that the ``methods`` and ``METHOD_*`` attributes are non-standard
extensions to Python 2.7, backported from 3.3i����N( t SystemRandom( t
namedtuples ./t _Methods name ident salt_chars total_sizec B s e Z d Z d ļæ½ Z RS( si Class representing a salt method per the Modular Crypt Format or the
legacy 2-character crypt method.c C s d | j S( Ns <crypt.METHOD_%s>( t name( t self( ( s /usr/lib64/python2.7/crypt.pyt __repr__ s ( t __name__t
__module__t __doc__R ( ( ( s /usr/lib64/python2.7/crypt.pyR s c C s[ | d k r t d } n | j r/ d | j n d } | d j t j t | j ļæ½ ļæ½ 7} | S( sļæ½ Generate a salt for the specified method.
If not specified, the strongest available method will be used.
This is a non-standard extension to Python 2.7, backported from 3.3
i s $%s$t N( t Nonet methodst identt joint _srt samplet
_saltcharst
salt_chars( t methodt s( ( s /usr/lib64/python2.7/crypt.pyt mksalt s
"c C s: | d k s t | t ļæ½ r* t | ļæ½ } n t j | | ļæ½ S( sN Return a string representing the one-way hash of a password, with a salt
prepended.
If ``salt`` is not specified or is ``None``, the strongest
available method will be selected and a salt generated. Otherwise,
``salt`` may be one of the ``crypt.METHOD_*`` values, or a string as
returned by ``crypt.mksalt()``.
Note that these are non-standard extensions to Python 2.7's crypt.crypt()
entrypoint, backported from 3.3: the standard Python 2.7 crypt.crypt()
entrypoint requires two strings as the parameters, and does not support
keyword arguments.
N( R
t
isinstanceR R t _cryptt crypt( t wordt salt( ( s /usr/lib64/python2.7/crypt.pyR '