from crypt import * from Crypto.Random import get_random_bytes from compress import * key = get_random_bytes(32) # 32 bytes * 8 = 256 bits (1 byte = 8 bits) print(key) file = "original_file.txt" cfile = file+'.enc' encrypt_file(key, file, cfile) decrypt_file(key, cfile) rootdir="test" recurse(rootdir)