ORIONIS API REFERENCE

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

class SecureKeyGenerator: (source)

View In Hierarchy

Undocumented

Static Method generate Generate a Laravel-compatible APP_KEY.
Constant KEY_SIZES Undocumented
Class Variable __slots__ Undocumented
def generate(cipher: str | Cipher = Cipher.AES_256_CBC) -> str: (source)

Generate a Laravel-compatible APP_KEY.

Parameters
cipher:str | Cipher, default Cipher.AES_256_CBCThe cipher algorithm to use for key generation.
Returns
strA base64-encoded key string formatted like Laravel's APP_KEY.
KEY_SIZES: ClassVar[dict[Cipher, int]] = (source)

Undocumented

Value
{Cipher.AES_128_CBC: 16,
 Cipher.AES_256_CBC: 32,
 Cipher.AES_128_GCM: 16,
 Cipher.AES_256_GCM: 32}
__slots__: tuple = (source)

Undocumented