summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_crypt.py
blob: a9c28cd6bd2fbc7e1ce68e03009368bf9c6bf9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/env python
"""Simple test script for cryptmodule.c
   Roger E. Masse
"""

from test.test_support import verbose
import crypt

c = crypt.crypt('mypassword', 'ab')
if verbose:
    print('Test encryption: ', c)