piermesh/docs/Daisy/CryptographyUtil.md

428 B
Raw Blame History

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
Users plain text key