Package-level declarations
Types
A coroutine-based debouncer that delays forwarding values until no new values have arrived for the specified delay duration.
Thrown when encryption or decryption fails.
A Kyber-1024 key pair, both keys Base64-encoded for serialisation.
Selects between a classical passphrase-derived key and a post-quantum asymmetric key pair (CRYSTALS-Kyber via Bouncy Castle).
Registers the Bouncy Castle providers required for classical and post-quantum cryptography.
Hash algorithm used to derive the AES key from a passphrase. Only relevant for KEncryptKeyType.Classical.
Ensures that only one coroutine at a time can execute a critical section.
A utility that retries a suspending operation with configurable exponential back-off and jitter.
Deduplicates concurrent calls to the same async operation.
A coroutine-based throttler that ensures at most one value is forwarded per period.
Functions
Leading-edge debounce for Flow values.
Creates and starts a KDebouncer with an immediate callback.
Creates and starts a KThrottler with an immediate callback.