File: crypt.py

package info (click to toggle)
kdevelop-python 5.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,364 kB
  • ctags: 87,869
  • sloc: python: 183,311; cpp: 16,695; xml: 1,106; sh: 14; makefile: 13
file content (14 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# AUTO-GENERATED FILE -- DO NOT EDIT


__package__ = None

def crypt(word, salt):
  """ crypt(word, salt) -> string
  word will usually be a user's password. salt is a 2-character string
  which will be used to select one of 4096 variations of DES. The characters
  in salt must be either ".", "/", or an alphanumeric character. Returns
  the hashed password as a string, which will be composed of characters from
  the same alphabet as the salt. """
  return ""