API Reference¶

Sigilo¶

This part of the documentation covers the classes and functions that sigilo module provides.

class sigilo.Sigilo¶

Teste

__init__(store: Store, cipher: Cipher)¶
get(key: str) bytes¶
set(key: str, plain_value: bytes)¶

Stores¶

class sigilo.stores.Store¶
get(key: str) bytes¶
set(key: str, value: bytes)¶
class sigilo.stores.memory.MemoryStore¶
__init__()¶
get(key: str) bytes¶
set(key: str, value: bytes)¶

Ciphers¶

class sigilo.ciphers.Cipher¶

Common interface for encryption and decryption algorithms in Sigilo.

encrypt(value: bytes) bytes¶
decrypt(value: bytes) bytes¶
class sigilo.ciphers.plain.PlainCipher¶
encrypt(value: bytes) bytes¶
decrypt(value: bytes) bytes¶