org.llm4s.agent.encryption.EncryptionKey
See theEncryptionKey companion object
@Experimental
A 256-bit AES key and its KeyId (#2449). The key material is held privately: nothing reads it back, toString prints the id and ***, and no error names it. Two keys are equal only if they are the same instance.
A key is never used directly. Each thread's payloads are encrypted under a subkey derived from it and the thread's id (HKDF-Expand, RFC 5869, with HMAC-SHA-256), so the bound on random nonces under one AES-GCM key applies per thread, not per store.
Attributes
- Companion
- object
- Source
- EncryptionKey.scala
- Graph
-
- Supertypes
Members list
In this article
