Files
giovannibajo 03bcf72d90 Merge Python 2.6 for Windows support (py26win branch)
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-05-21 00:07:21 +00:00

21 lines
463 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import binascii
from Crypto.Cipher import AES
BLOCK_SIZE = 16
def main():
print "AES null encryption, block size", BLOCK_SIZE
# Just for testing functionality after all
print "HEX", binascii.hexlify(AES.new("\0" *
BLOCK_SIZE).encrypt("\0" *
BLOCK_SIZE))
if __name__ == "__main__":
main()