mirror of
https://github.com/python/cpython.git
synced 2024-11-30 13:24:13 +08:00
12 lines
218 B
Python
12 lines
218 B
Python
#! /usr/bin/env python
|
|
"""Simple test script for cryptmodule.c
|
|
Roger E. Masse
|
|
"""
|
|
|
|
from test_support import verbose
|
|
import crypt
|
|
|
|
c = crypt.crypt('mypassword', 'ab')
|
|
if verbose:
|
|
print 'Test encryption: ', c
|