createStreamingAeadCipher

fun createStreamingAeadCipher(dispatcher: CoroutineDispatcher = Dispatchers.Default): StreamingAeadCipher

Creates a standalone, in-memory StreamingAeadCipher with AES256_GCM_HKDF_1MB (REQ-HRD-03).

Warning: This helper generates a fresh ephemeral keyset in memory on every call. Do not pass it to a persistent DataStore across process restarts; for persistent stores, construct StreamingAeadCipher with a StreamingAead primitive loaded from a persisted Tink KeysetHandle.