THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Undocumented
| Method | decrypt |
Decrypt an encrypted payload using the configured cipher algorithm. |
| Method | encrypt |
Encrypt plaintext using the configured cipher algorithm. |
| Class Variable | __slots__ |
Undocumented |
overridden in
orionis.encrypter.EncrypterDecrypt an encrypted payload using the configured cipher algorithm.
| Parameters | |
payload:str | Base64-encoded encrypted payload containing IV, value, tag, and cipher. |
| Returns | |
str | The decrypted plaintext as a UTF-8 string. |
| Raises | |
TypeError | If payload is not a string. |
ValueError | If payload is empty or invalid. |
RuntimeError | If decryption fails. |
overridden in
orionis.encrypter.EncrypterEncrypt plaintext using the configured cipher algorithm.
| Parameters | |
plaintext:str | The text to encrypt. |
| Returns | |
str | Base64-encoded encrypted payload containing IV, value, tag, and cipher. |
| Raises | |
TypeError | If plaintext is not a string. |
ValueError | If plaintext is empty or has encoding issues. |
RuntimeError | If encryption fails. |