datumaro.components.crypter#
Classes
|
|
- class datumaro.components.crypter.Crypter(key: Union[str, bytes])[source]#
Bases:
object
- FERNET_KEY_LEN = 50#
- KEY_PREFIX = b'datum-'#
- KEY_PREFIX_LEN = 6#
- classmethod gen_key(key: Optional[bytes] = None) bytes [source]#
If “key” is not None, return the different key with “key”.
- property is_null_crypter#