git: 9front

ref: 986efb04152e2c8a04d28bc6e50a2235ab0e1af0
dir: /sys/lib/python/test/test_crypt.py/

View raw version
#! /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