source:
vendor/python/2.5/Lib/test/test_crypt.py
| Last change on this file was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 227 bytes | |
| Rev | Line | |
|---|---|---|
| [3225] | 1 | #! /usr/bin/env python |
| 2 | """Simple test script for cryptmodule.c | |
| 3 | Roger E. Masse | |
| 4 | """ | |
| 5 | ||
| 6 | from test.test_support import verify, verbose | |
| 7 | import crypt | |
| 8 | ||
| 9 | c = crypt.crypt('mypassword', 'ab') | |
| 10 | if verbose: | |
| 11 | print 'Test encryption: ', c |
Note:
See TracBrowser
for help on using the repository browser.
