Skip to content

Instantly share code, notes, and snippets.

View andreashove's full-sized avatar

Andreas Hove andreashove

View GitHub Profile
@andreashove
andreashove / feistelcipher.py
Created November 8, 2016 21:11
Simple feistel cipher implementation based on DES
__author__ = 'andreas.hove'
from collections import deque
# This script enciphers and deciphers text using a Feistel cipher implementation, inspiration by DES.
#
# author: Andreas Hove
# course: DAT510
# instructor: Chunlei Li