pyaescrypt

Solutions on MaxInterview for pyaescrypt by the best coders in the world

showing results for - "pyaescrypt"
Fernando
12 Jan 2018
1import pyAesCrypt
2# encryption/decryption buffer size - 64K
3bufferSize = 64 * 1024
4password = "foopassword"
5# encrypt
6pyAesCrypt.encryptFile("data.txt", "data.txt.aes", password, bufferSize)
7# decrypt
8pyAesCrypt.decryptFile("data.txt.aes", "dataout.txt", password, bufferSize)
9