home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine 2004 March
/
INTERNET115.ISO
/
pc
/
software
/
windows
/
building
/
python
/
python_233.exe
/
TEST_CRYPT.PY
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
2002-07-23
|
238 b
|
12 lines
#! /usr/bin/env python
"""Simple test script for cryptmodule.c
Roger E. Masse
"""
from test.test_support import verify, verbose
import crypt
c = crypt.crypt('mypassword', 'ab')
if verbose:
print 'Test encryption: ', c