Skip to content

Features

GALIH RIDHO UTOMO edited this page Jun 2, 2025 · 1 revision

Features

  1. 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.
  2. Mathematically Annotated
    Each function corresponds exactly to formulas in the original LAI paper.

  3. Modular Design
    Separation of low-level primitives (H, sqrt_mod, T) from high-level API (keygen, encrypt, decrypt).

  4. General & Optimized

    • Fast branch when $$(p \equiv 3 \pmod 4)$$.
    • Full Tonelli–Shanks fallback for any odd prime.
  5. Bulk JSON Decryption
    Easily decrypt an entire JSON payload into raw bytes (e.g., for files, UTF-8 text, or code).

  6. 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).

Back to Home | Footer

Clone this wiki locally