A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://svn.python.org/projects/python/branches/r23c1-branch/Lib/test/test_rotor.py below:

import warnings warnings.filterwarnings("ignore", category=DeprecationWarning, message='.*is deprecated', module=__name__) import rotor r = rotor.newrotor("you'll never guess this") r = rotor.newrotor("you'll never guess this", 12) A = 'spam and eggs' B = 'cheese shop' a = r.encrypt(A) print `a` b = r.encryptmore(B) print `b` A1 = r.decrypt(a) print A1 if A1 != A: print 'decrypt failed' B1 = r.decryptmore(b) print B1 if B1 != B: print 'decryptmore failed' try: r.setkey() except TypeError: pass r.setkey('you guessed it!')

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4