freezer.utils.crypt module

class freezer.utils.crypt.AESCipher(pass_file)

Bases: object

Base class for encrypt/decrypt activities.

class freezer.utils.crypt.AESDecrypt(pass_file, salt)

Bases: freezer.utils.crypt.AESCipher

Decrypts chucks of data using AES-256 algorithm. OpenSSL compatible.

decrypt(data)
class freezer.utils.crypt.AESEncrypt(pass_file)

Bases: freezer.utils.crypt.AESCipher

Encrypts chucks of data using AES-256 algorithm. OpenSSL compatible.

encrypt(data)
generate_header()