cpython/Lib/test/test_crypt.py

13 lines
239 B
Python
Raw Normal View History

1996-12-09 19:13:45 -04:00
#! /usr/bin/env python
"""Simple test script for cryptmodule.c
Roger E. Masse
"""
verbose = 0
if __name__ == '__main__':
verbose = 1
1996-12-09 19:13:45 -04:00
import crypt
c = crypt.crypt('mypassword', 'ab')
if verbose:
print 'Test encryption: ', c