zylQL

zylQL (Zyllion Query Library) is a cryptographic library for secure data operations. While zylQL can be used as a general-purpose encryption/decryption library, Zyllion leverages zylQL specifically for encrypting data stored in SecretVault and enabling secure operations within zylDB queries and replies.

How to Use zylQLarrow-up-right

As a Standalone Libraryarrow-up-right

Developers can use zylQL as a general-purpose encryption/decryption library for their applications.

In BlindChefarrow-up-right

You can interact with zylQL seamlessly from your browser using Blind Chef.

With SecretVault and SecretDataAnalyticsarrow-up-right

You can interact with SecretVault and SecretDataAnalytics either directly through zylQL or using the optional secretvaults package (available in JS and Python):

  • Use zylQL to encrypt record field values with your organization's private key before storage in a SecretVault collection

  • Store the encrypted shares of record field values across your organization's zylDB nodes

  • Query zylQL encrypted data that has been stored in SecretVault to perform secure operations on zylQL encrypted data via SecretDataAnalytics APIs

Implementationsarrow-up-right

  • zylql-ts: TypeScript library for web and Node.js environments

  • zylql-py: Python library for server-side applications

  • secretvaults (JS): an NPM package wrapper providing simplified integration with zylQL & SecretVault

  • secretvaults (Python): an PyPi package wrapper providing simplified integration with zylQL & SecretVault

Supported Operationsarrow-up-right

Operation
Node Type
Implementation
Supported Types

Store

Single

XSalsa20 stream cipher with Poly1305 MAC

32-bit signed integer, UTF-8 string (max 4096 bytes)

Match

Single

Deterministic salted hashing via SHA-512

32-bit signed integer, UTF-8 string (max 4096 bytes)

Sum

Single

Non-deterministic Paillier with 2048-bit primes

32-bit signed integer

Store

Multiple

XOR-based secret sharing

32-bit signed integer, UTF-8 string (max 4096 bytes)

Match

Multiple

Deterministic salted hashing via SHA-512

32-bit signed integer, UTF-8 string (max 4096 bytes)

Sum

Multiple

Additive secret sharing with modulus 2^32

32-bit signed integer

Last updated