Skip to content

Transition to a plug-in architecture of cryptographic primitives #32

Description

@DevsDaddy

Currently, cipher selection (ChaCha20/Gimli) and KEM (Ring-LWE/R-Ring-LWE) are strictly tied to CipherType and direct imports.

I'd like to migrate this to the Strategy + Registry pattern (something like this):

QuarkDash.registerCipher('my-cipher', MyCipherProvider); // User-defined cipher provider
const qd = new QuarkDash({ cipher: 'my-cipher' });

Why: This will allow third-party developers to plug in their own algorithms (such as XChaCha20, or experimental lightweight ciphers for IoT) without forking the library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions