Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 3540ef16c19f2260e347a679cb27d44ba734bec6 authored by Guido van Rossum on 31 August 2007, 15:07:53 UTC
Tagging for release of Python 3.0a1.
Tip revision: 3540ef1
test_crypt.py
#! /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)
back to top