Skip to content

Instantly share code, notes, and snippets.

@BlackRabbit-github
BlackRabbit-github / vigenere cipher
Created June 13, 2012 16:07
implementation of vigenere cipher in python
letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',' ','.',',','?','1','2','3','4','5','6','7','8','9','0']
cipher = []
pos_key = []
pos_text = []
pos_cipher = 0
key = []
plain = []
letters_len = 40
import os
@BlackRabbit-github
BlackRabbit-github / pyDes.py
Created June 13, 2012 15:54 — forked from eigenein/pyDes.py
A pure python implementation of the DES and TRIPLE DES encryption algorithms
#############################################################################
# Documentation #
#############################################################################
# Author: Todd Whiteman
# Date: 16th March, 2009
# Verion: 2.0.0
# License: Public Domain - free to do as you wish
# Homepage: http://twhiteman.netfirms.com/des.html
#