nectargraphenebase.aes module

class nectargraphenebase.aes.AESCipher(key: Any)

Bases: object

A classical AES Cipher. Can use any size of data and any size of password thanks to padding. Also ensure the coherence and the type of the data with a unicode to byte converter.

decrypt(enc: str) str
encrypt(raw: Any) str
static str_to_bytes(data: Any) bytes