-
Notifications
You must be signed in to change notification settings - Fork 0
Features
GALIH RIDHO UTOMO edited this page Jun 2, 2025
·
1 revision
-
Pure Implementations (no native code)
-
Python: only uses
hashlib,secrets(stdlib). - JavaScript: pure JS/BigInt.
-
Ruby: pure Ruby +
openssl. -
C#: uses
System.Numerics.BigInteger(no external C/C++). -
Java: uses
java.math.BigInteger+ Jackson for JSON.
-
Python: only uses
-
Mathematically Annotated
Each function corresponds exactly to formulas in the original LAI paper. -
Modular Design
Separation of low-level primitives (H,sqrt_mod,T) from high-level API (keygen,encrypt,decrypt). -
General & Optimized
- Fast branch when
$$(p \equiv 3 \pmod 4)$$ . - Full Tonelli–Shanks fallback for any odd prime.
- Fast branch when
-
Bulk JSON Decryption
Easily decrypt an entire JSON payload into raw bytes (e.g., for files, UTF-8 text, or code). -
CI/CD Ready
- Python: auto-publish to PyPI via GitHub Actions.
- JavaScript: auto-publish to npm.
- Ruby: auto-publish to RubyGems.
- C#: auto-publish to NuGet & GitHub Packages.
- Java: auto-publish to GitHub Packages (Maven).
© 2025 pqcrypto. Maintained by the pqcrypto team.
- GitHub Repository
- Readme source:
README.md - If you have questions or suggestions, please open an issue or pull request on the repository.