Updated setcore with latest code

This commit is contained in:
TrustedSec 2013-08-02 03:15:35 -04:00
parent c26b21f1b2
commit 0bf364d2a4

View file

@ -1324,7 +1324,6 @@ def encryptAES(secret, data):
EncodeAES = lambda c, s: base64.b64encode(c.encrypt(pad(s)))
DecodeAES = lambda c, e: c.decrypt(base64.b64decode(e)).rstrip(PADDING)
#secret = os.urandom(BLOCK_SIZE)
cipher = AES.new(secret)
aes = EncodeAES(cipher, data)