summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_crypt.py
blob: 6fbb780c53104265b8700b73af1972fed6f521e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/env python
"""Simple test script for cryptmodule.c
   Roger E. Masse
"""
verbose = 0
if __name__ == '__main__':
    verbose = 1
    
import crypt
c = crypt.crypt('mypassword', 'ab')
if verbose:
    print 'Test encryption: ', c