Skip to content

Instantly share code, notes, and snippets.

View panchambharadwaj's full-sized avatar

Pancham Bharadwaj panchambharadwaj

View GitHub Profile
@panchambharadwaj
panchambharadwaj / aes_cipher.py
Last active May 24, 2018 15:27 — forked from swinton/AESCipher.py
Encrypt & Decrypt using PyCrypto AES 256
import base64
import hashlib
from Crypto import Random
from Crypto.Cipher import AES
class AESCipher(object):
def __init__(self, length, key):