keyByTopic property

Map<String, ChaCha20Key> keyByTopic
getter/setter pair

A static map that associates topics with their corresponding ChaCha20Key instances for encryption purposes. This ensures that each topic has a unique encryption key for secure communication.

Implementation

static Map<String, ChaCha20Key> keyByTopic = {};