1996-12-09 19:13:45 -04:00
|
|
|
#! /usr/bin/env python
|
|
|
|
"""Simple test script for cryptmodule.c
|
|
|
|
Roger E. Masse
|
|
|
|
"""
|
1996-12-20 18:36:52 -04:00
|
|
|
|
2002-07-23 16:04:11 -03:00
|
|
|
from test.test_support import verify, verbose
|
1996-12-09 19:13:45 -04:00
|
|
|
import crypt
|
1996-12-20 18:36:52 -04:00
|
|
|
|
1996-12-16 16:44:56 -04:00
|
|
|
c = crypt.crypt('mypassword', 'ab')
|
|
|
|
if verbose:
|
|
|
|
print 'Test encryption: ', c
|