Skip to content

Instantly share code, notes, and snippets.

@liudongmiao
liudongmiao / rijndael.py
Created September 6, 2016 01:39 — forked from jeetsukumaran/rijndael.py
Pure-Python implementation of Rijndael (AES) cipher.
#############################################################################
# Original code ported from the Java reference code by Bram Cohen, April 2001,
# with the following statement:
#
# this code is public domain, unless someone makes
# an intellectual property claim against the reference
# code, in which case it can be made public domain by
# deleting all the comments and renaming all the variables
#
class Rijndael(object):