File: crypt.py

package info (click to toggle)
kdevelop-python 24.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 12,640 kB
  • sloc: python: 183,048; cpp: 18,798; xml: 140; sh: 14; makefile: 9
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 ""