Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: b4c8cba4b4405f5abf394ffc8286a1dd13732a8f authored by Anthony Baxter on 23 October 2006, 15:38:59 UTC
set svn:ignore. anal retentiveness, makes it easier to spot actual problems
Tip revision: b4c8cba
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