Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Classical Cryptography: Using Classical Ciphers with pycipher.

network@node1:~$ python
Python 2.7.3 (default, Feb 27 2014, 20:00:17) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycipher
>>> pycipher.Caesar(3).encipher("kartik")
'KUMAR'
>>> pycipher.Caesar(3).decipher("kumar")
'KARTIK'
>>> quit()
Source by sandilands.info #
 
PREVIOUS NEXT
Tagged: #Classical #Using #Classical #Ciphers
ADD COMMENT
Topic
Name
3+3 =