-
Notifications
You must be signed in to change notification settings - Fork 0
Home

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
- Home
- Get Started
- Algorithm Overview
- Comparison with AES/RSA etc
- Encryption examples
- Full algorithm description
- About Ring-LWE with comparison
- Class reference
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.
🔹 Lightweight library with zero dependencies;
🔹 Powerful crypto algorithm written in Typescript;
🔹 Extremely fast (great for realtime and IoT applications);
🔹 Production ready with benchmarks;
- 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.
- 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;
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;
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.
Home | Get Started| NPM | Algorithm Overview | Contacts