Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the Ajtai Commitment Scheme #6

Open
3 tasks
NiDimi opened this issue Jan 28, 2025 · 0 comments
Open
3 tasks

Implement the Ajtai Commitment Scheme #6

NiDimi opened this issue Jan 28, 2025 · 0 comments
Assignees

Comments

@NiDimi
Copy link
Contributor

NiDimi commented Jan 28, 2025

Develop the Ajtai commitment scheme using matrices and vector commitments.

Need to include:

  • Setup Phase
  • Signing Phase
  • Opening Phase

I suspect that there is already an implementation for the commitment scheme, so this task is more of trying to find the best one.
Possible implementations:

Paper Reference: Section 5.2: Main Protocol, Committing

@pycckuu pycckuu self-assigned this Feb 18, 2025
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 20, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
pycckuu added a commit that referenced this issue Feb 21, 2025
Add Ajtai commitment scheme implementation with lattice-based
cryptography primitives. Includes matrix-vector operations in polynomial
ring Rq and parameter validation for cryptographic security.

-  Implement AjtaiCommitment struct with commit/verify operations
-  Add parameter validation for β²m³ < q² security condition
-  Introduce bounded polynomial generation with ternary distribution
-  Create RqMatrix for efficient matrix-vector multiplication
-  Add error handling with thiserror crate
-  Include message encoding utilities for polynomial packing
-  Implement random small polynomial generation using thread-local RNG

Test suite verifies:
-  Parameter validation rejects insecure configurations
-  Commitment binding through witness randomization
-  Correct verification of valid/invalid openings
-  Security boundary enforcement
-  100-operation stress test stability

Issue-URL: #6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants