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
|
|
|
|
2007-04-06 16:32:32 -03:00
|
|
|
from test.test_support import 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
|