(word, salt=None)
return _crypt.crypt(word, salt)
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()``.
Return a string representing the one-way hash of a password, with a salt
    prepended.
Return a string representing the one - way hash of a password with a salt prepended .
def crypt(word, salt=None):
    """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()``.

    """
    if salt is None or isinstance(salt, _Method):
        salt = mksalt(salt)
    return _crypt.crypt(word, salt)
def crypt ( word , salt = None ) : if salt is None or isinstance ( salt , _Method ) : salt = mksalt ( salt ) return _crypt . crypt ( word , salt )