428 B
428 B
CryptographyUtil
class Daisy.CryptographyUtil.SteelPetal(key: str, nonce=None, testData=None)
Cryptography utility for encrypting files
decrypt(data: bytes)
Decrypt encrypted binary data
- data: bytes
- Data to decrypt
encrypt(data: bytes)
Encrypt binary data
- data: bytes
- Data to encrypt
pad(key: str)
Pad key to make it usable
- key: str
- User’s plain text key