plan9fox/sys/lib/python/test/test_crypt.py
2011-05-03 11:25:13 +00:00

11 lines
227 B
Python
Executable file

#! /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