- pip install pycryto
- if cannot compile download VC compiler from http://aka.ms/vcpython27
- several package list here http://lua-users.org/wiki/CryptographyStuff
- will use lcrypt from http://www.eder.us/projects/lcrypt/
- lcrypt need LibTomCrypt (c lib) from http://www.libtom.net/
from Crypto.Cipher import AES
bs = AES.block_size
cipher = AES.new("password;")
in_file = open("f:/Applications/ISO/Office97yjlhs.aes","rb")
chunck = cipher.decrypt(in_file.read(1024*bs))
out_file = open("out.dat","wb")
out_file.write(chunck)
out_file.close()
in_file.close()