Skip to content

Commit

Permalink
Merge pull request #4 from NillionNetwork/0.0.0-alpha.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hm authored Jan 29, 2025
2 parents c574eef + 5b29340 commit 790fc4d
Show file tree
Hide file tree
Showing 4 changed files with 354 additions and 174 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Library for working with encrypted data within nilDB queries and replies.

This library provides cryptographic operations that are compatible with nilDB nodes and clusters, allowing developers to leverage certain privacy-enhancing technologies (PETs) when storing, operating upon, and retrieving data while working with nilDB. The table below summarizes the functionalities available in nilQL.

| Cluster | Operation | Implementation Details | Supported Types |
|----------------|------------|-------------------------------------------------|---------------------------------------------------|
| single node | store | XSalsa20 stream cipher and Poly1305 MAC | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| single node | match | deterministic salted hashing via SHA-512 | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| single node | sum | non-deterministic Paillier with 2048-bit primes | 32-bit signed integer |
| multiple nodes | store | XOR-based secret sharing | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| multiple nodes | match | deterministic salted hashing via SHA-512 | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| multiple nodes | sum | additive secret sharing with modulus 2^32 | 32-bit signed integer |
| Cluster | Operation | Implementation Details | Supported Types |
|----------------|------------|---------------------------------------------------|---------------------------------------------------|
| single node | store | XSalsa20 stream cipher and Poly1305 MAC | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| single node | match | deterministic salted hashing via SHA-512 | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| single node | sum | non-deterministic Paillier with 2048-bit primes | 32-bit signed integer |
| multiple nodes | store | XOR-based secret sharing | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| multiple nodes | match | deterministic salted hashing via SHA-512 | 32-bit signed integer; UTF-8 string (<4097 bytes) |
| multiple nodes | sum | additive secret sharing (prime modulus 2^32 + 15) | 32-bit signed integer |

## Package Installation and Usage

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nillion/nilql",
"version": "0.0.0-alpha.6",
"version": "0.0.0-alpha.7",
"description": "Library for working with encrypted data within NilDB queries and replies.",
"license": "MIT",
"homepage": "https://github.com/nillionnetwork/nilql-ts",
Expand Down
Loading

0 comments on commit 790fc4d

Please sign in to comment.