Changeset 319 for trunk/sandbox/jhb/oc2/blowfish.py
- Timestamp:
- 05/23/09 02:06:34 (3 years ago)
- Files:
-
- 1 modified
-
trunk/sandbox/jhb/oc2/blowfish.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sandbox/jhb/oc2/blowfish.py
r318 r319 573 573 cipher.initCTR() 574 574 text = "The quick brown fox jumps over the lazy dog" 575 print "\tText:\t\t", text 575 text = 'h' * 100000 576 #print "\tText:\t\t", text 576 577 crypted = cipher.encryptCTR(text) 577 print "\tEncrypted:\t", crypted578 #print "\tEncrypted:\t", crypted 578 579 cipher.initCTR() 579 580 decrypted = cipher.decryptCTR(crypted) 580 print "\tDecrypted:\t", decrypted581 #print "\tDecrypted:\t", decrypted
