summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_crypt.py
blob: 7336711e5f77b3c6ae0060ae86ec755a8c135b38 (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 verify, verbose
import crypt

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