Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 3556b2db57ab3b17b3d4c6b28cdc604a3e0168e8 authored by Anthony Baxter on 27 April 2006, 02:13:13 UTC
2.5a2
Tip revision: 3556b2d
test_crypt.py
#! /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
back to top