PackageTrack
Sign in Get early access

github.com/tuneinsight/lattigo

· tuneinsight/lattigo

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Too new to tell

only 1 dated releases

Unknown

no stable releases

1 version withdrawn

withdrawn after publishing

3 years old

1 releases · first in 2023

0 releases in the last 12 months

see the full history below

Release timeline

1 releases · Apr 2023 to Apr 2023
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 1
  1. v1.3.1 25 Apr 2023 withdrawn

    Module deprecated: The latest supported version is github.com/tuneinsight/lattigo/v4.

    Release notes

    Added

    • BFV/CKKS: Added API for encrypting using a CRP (common reference polynomial).
    • BFV/CKKS: Added API for encrypting faster (encrypts zero directly in Q instead of QP and does not need to divide by P).
    • BFV/CKKS: Parameters can now be created without the modulus P. Doing so disables all key-switching operations.
    • CKKS: Added tests for hoisted rotations.
    • RING: Added benchmarks for a NTT using purely Barrett reduction for comparison purposes.

    Changed

    • BFV/CKKS: Changed the switching keys from (-as1 + (s0-s1) + e, a) to (-as1 + s0 + e, a). This does not affect the user experience as it only changes the internal behavior, which is kept consistent. However, Rotation and KeySwitching keys generated with older releases will induce wrong results and will need to be re-generated.

    Fixes

    • BFV: Fixed EncryptFromSK that was not correctly wiping the memory pool before using it, which lead to back encryptions.
    • BFV: Fixed an index out of bound error that would happen during the multiplication if #QMul > #Qi.
    • CKKS: Removed some redundant operations in the hoisted rotations.
    • CKKS: MulRelin now always returns a fully reduced ciphertext.
    • DCKKS: PCKS and CKS now correctly set the scale of the output ciphertext to the scale of the input ciphertext.
    • RING: Fixed GenerateNTTPrimes that could return twice the same prime if the initial value was prime.
    • RING: The function context.UniformPoly now samples based on the number of moduli of the context rather than based on the input polynomial.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive