mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
03bcf72d90
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
21 lines
463 B
Python
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()
|