About
DataZen is an advanced distributed computation system designed to enable secure, privacy-preserving data analysis and collaboration. At its core, DataZen leverages Fully Homomorphic Encryption (FHE) and other cryptographic techniques to allow computations on encrypted data without ever decrypting it. This approach solves a fundamental problem in data science and analytics: how to derive insights from sensitive data across multiple parties without compromising individual privacy or revealing raw information. Key Components of DataZen:
Data Providers: These are entities (individuals, companies, institutions) that own sensitive data they want to contribute for analysis without exposing the raw information. Using DataZen's tools, they encrypt their data using FHE or a dual encryption scheme (AES + RSA). Zen Nodes: These are secure compute providers that store encrypted data and perform computations on it. Zen Nodes never have access to decryption keys, ensuring they cannot view the raw data they process. Compute Clients: These are parties interested in analyzing the collective data. They submit computation requests to Zen Nodes and receive encrypted results along with zero-knowledge proofs of computation integrity.
Detailed Functionality:
Data Preparation:
For FHE: Data is encrypted using the TFHE library, which allows for complex mathematical operations on encrypted integers. For dual encryption: Data is encrypted with AES, and the AES key is then encrypted with RSA public keys from both the client and Zen Node.
Secure Storage:
Encrypted data is stored on Zen Nodes in a structured format, along with metadata. The system uses base64 encoding for efficient storage and transmission of encrypted data.
Computation:
Zen Nodes can perform various operations on FHE-encrypted data, including:
Calculating averages and totals
Performing comparisons (greater than, less than, etc.)
All computations occur in the protected environment of the Zen Node.
Zero-Knowledge Proofs:
For each computation, a zero-knowledge proof is generated. This proof allows verification of the computation's correctness without revealing any information about the input data or intermediate steps.
Result Delivery:
Computed results remain encrypted and are sent back to the compute client along with the zero-knowledge proof. Only the authorized compute client can decrypt the final result using their private key.
Security Measures:
End-to-end encryption ensures data remains protected at rest and in transit. Key isolation prevents Zen Nodes from accessing raw data. The use of FHE allows for computations on encrypted data, eliminating the need for decryption during processing.
Technical Implementation:
The system is primarily implemented in Rust, leveraging its strong type system and memory safety features. It uses the Rocket web framework for handling HTTP requests and managing the Zen Node server. The TFHE library is used for FHE operations, allowing for complex computations on encrypted integers. For non-FHE data, the system uses AES-256-CBC for symmetric encryption and RSA for asymmetric encryption. The project includes modules for key generation, data processing, Zen Node operations, and zero-knowledge proof generation.
Use Cases:
DataZen has wide-ranging applications across various industries where data sensitivity is paramount:
Finance: Credit scoring, fraud detection, and risk assessment across multiple institutions without sharing raw financial data. Healthcare: Collaborative medical research, drug discovery, and epidemiological studies while maintaining patient privacy. Smart Cities: Urban planning and resource optimization using encrypted data from multiple city services. Education: Cross-institutional analysis of student performance and standardized testing. Supply Chain: Multi-party inventory optimization and demand forecasting without revealing proprietary information.
In essence, DataZen creates a secure environment for data collaboration, enabling organizations to break down data silos and leverage collective intelligence without compromising on data privacy or security. It represents a significant advancement in privacy-preserving computation, opening up new possibilities for data-driven decision-making in sensitive domains.
Prizes
- Polygon · Best Use of Polygon CDK · 5th place
- Filecoin · Privacy Tools · Privacy Tools
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






