Skip to content
Elijah Brown edited this page Apr 13, 2026 · 6 revisions

Wlecome to QuarkDash Crypto Wiki

Welcome to QuarkDash Crypto library wiki. Here you can find comprehensive documentation on the encryption algorithm, including comparative characteristics, a description of the implementation of the basic system components, and much more.

Have a questions? Contact me


Table of Contents


About QuarkDash Crypto

QuarkDash Crypto - It is a hybrid cryptographic protocol that provides post-quantum security, high performance, and attack resistance. This library can be used as shared solution for client and server. Written on pure typescript. Dependency-free.

❓ Why QuarkDash Crypto?

🔹 Lightweight library with zero dependencies;
🔹 Powerful crypto algorithm written in Typescript;
🔹 Extremely fast (great for realtime and IoT applications);
🔹 Production ready with benchmarks;

🔒 General Components

  • Asymmetric key exchange – Ring-LWE (N=256, Q=7681) based on NTT;
  • Symmetric encryption – With ChaCha20 (RFC 7539) or lightweight Gimli ciphers.
  • Key Derivation Function (KDF) – Based on fast SHAKE256 (Keccak based).
  • Message Authentication Code (MAC) – Based on SHAKE256 with key.
  • Replay protection – timestamp + sequence number.

⭐ Key Features

  • Quantum stability – not broken by Shor and Grover's algorithms;
  • Performance – encryption up to 2.8 GB/s, session establishment ~10 ms;
  • Forward secrecy – compromising a long-term key does not reveal past sessions.
  • Built-in protection against replay, timing attacks, and counterfeiting.
  • Flexibility – choice of cipher (ChaCha20/Gimli), synchronous and asynchronous API.
  • WASM support for heavy calculations with fallback;

Contribution

Want to help develop the project? You can suggest changes or new features through the issues section of this repository.

Currently, the following are important to me:

  • Maintaining polite communication within the community;
  • Setting appropriate labels for issues and pull requests;
  • Complying with license agreements and the rights of other users;
  • Testing new functionality, explaining the need for improvements;

Licensing

QuarkDash Crypto library is distributed under the MIT license. You can use it however you like. I would appreciate any feedback and suggestions for improvement.

Clone this wiki locally