Project Info
Taisu Ventures: Next-Gen Web3 Security Award (4x Deeper Network Air + 1 NGRAVE cold wallet)
Cipher Shield
Inspiration
The inspiration for our project came from a problem based approach to ideation. We as students fill out countless job applications, and each one asks for demographic data. Most simply opt out as there seems to be no tangible benefit. In fact, there seems to only exist a potential downside: that it may be illegally misused to negatively affect your application. And yet, demographic collection does serve a large social purpose for society, specifically for detecting trends that may expose discrimination. In numerous cases, including employment, healthcare, loans, and credit cards, collecting demographic data is actually mandated by the federal government. We figured that in the era of decentralization and advanced encryption schemes, there is no reason for misuse of this information to even be mathematically possible.
What it does
Cipher Shield acts as a trusted third party, providing completely secure data aggregation services via the blockchain. We empower companies to extract aggregate statistical insights from homomorphically encrypted data, thus making it impossible to profile individuals based on their protected data.
How we built it
Blockchain: The chain is a critical component of our architecture and business model since it accelerates trust in our services. Every aggregation request is stored on the chain, creating an immutable, public record. Before any homomorphic computation is initiated, our smart contract performs critical on-chain validation - a transparent verification that ensures enough records exist to make reverse engineering mathematically impossible. If there aren't enough data points to maintain statistical anonymity, the contract automatically rejects the request. Once the request is validated and the computation is complete, the final aggregated result is also stored on chain, creating an audit trail of our services that companies can trust - we can't nullify data because every step is permanently and publicly verifiable on the blockchain. Dealing with advanced encryption schemes and blockchain operations, our business logic was written entirely in C++ and solidity. We leveraged OpenFHE homomorphic encryption operations and key generation. As a B2B product, our demo needed to include an entire demo business to use our product, which required a whole other backend+frontend pair.
Challenges we ran into
We ran into a number of challenges while building the product: Implementing our design of the homomorphic encryption in OpenFHE library, specifically with the dual private key setup which did not come as a out of the box solution. Writing the implementation for the backend responsible for the data aggregation in C++ and facilitating the key exchange with correct serialization, deserialization. Managing the large payloads of ciphertext in the communications between company and server and storing ciphertext.
Accomplishments we're proud of
We started off as 4 complete strangers with incredibly varying interests and skillsets and we were able to collaborate seamlessly. Together, we created the first ever implementation of a split key homomorphic encryption scheme that’s also verified through blockchain technology. We learned a lot about homorphic encryption as well as blockchain. We were able to intergrate the full stack of the application together and make all of the parts of the system working locally, with all of the Customer Data, Company/Organization, and Authority.
What we learned
We learned about how to implement Homomorphic Encryption libraries and packages and alter their fundamentals to be able to work with split keys. We learned about the different ways that data security and insurance is important in B2B SaaS solutions, as well as potential business market ideas that could benefit both business and consumer at the same time. We also learned about the integration of Web-2 with Web-3 technology as well as integrating visualizations on the full-stack end despite coming in with very limited knowledge about blockchain. Moreover, we also learned about creating front-end web applications as well as a balance of creativity, inspiration, and feasibility when implementing a large scale and ambitious project. We also learned about the importance of Web-3 in web-application security.
What's next
We believe Cipher Shield should mediate the demographic collection and protected data collection processes of every company in America, and we believe this will have transformative societal outcomes in mitigating discrimination. The data aggregation capabilities of our scheme extend far beyond single company aggregation, but can even be used to securely combine hospital datasets. To encourage companies to adopt our tech, we would also want to create an easy to use SDK for organizations, companies, and industries less knowledgeable on the prospect and understanding of Blockchain and encryption. Furthermore, the ability to directly create a form or application directly on Cipher Shield and embed it into any company or organizations’ website directly through a Web Embedding that CipherShield uses would be essential to seamless adoption.
CipherShield
Cipher Shield is a decentralized data aggregation platform that leverages advanced homomorphic encryption and blockchain technology to provide secure, privacy-preserving insights. This document outlines the inspiration behind our project, how it works, our architecture, the challenges we faced, our learnings, and our future roadmap.
Table of Contents
- Inspiration
- What It Does
- How We Built It
- Challenges We Ran Into
- Accomplishments That We’re Proud Of
- What We Learned
- What’s Next for Cipher Shield
Inspiration
The inspiration for our project came from a problem-based approach to ideation. As students, we frequently fill out job applications that require demographic data. Most applicants simply opt out, as there appears to be no tangible benefit—only a potential downside if the information is illegally misused to negatively affect applications.
Note: Despite these concerns, demographic collection is crucial for detecting trends that may expose discrimination. In fields like employment, healthcare, loans, and credit cards, collecting this data is often mandated by the federal government.
In an era defined by decentralization and advanced encryption schemes, we believe there is no reason for such sensitive information to be misused, rendering harmful practices mathematically impossible.
What It Does
Cipher Shield serves as a trusted third party that provides secure data aggregation services via the blockchain. It empowers companies to extract aggregate statistical insights from homomorphically encrypted data, ensuring that individual profiles remain completely private.
How We Built It
Blockchain Integration
- Immutable Records: Every aggregation request is stored on the blockchain, creating a transparent, permanent record.
- On-Chain Validation:
Before any homomorphic computation begins, our smart contract conducts a critical on-chain validation to ensure that there are enough records to prevent reverse engineering.- If insufficient data points exist, the contract automatically rejects the request.
- Audit Trail:
Once validated and computed, the aggregated result is stored on-chain, ensuring every step is permanently verifiable.
Technology Stack
- Business Logic: Written entirely in
C++andsolidityto handle complex encryption schemes and blockchain operations. - Encryption: Utilizes the OpenFHE library for homomorphic encryption operations and key generation.
- Demo Ecosystem: As a B2B product, our demo features a full demo business, which necessitated a complete backend and frontend solution.
Challenges We Ran Into
We encountered several challenges during the development process:
- Homomorphic Encryption Implementation:
Implementing our custom design in the OpenFHE library, particularly with the dual private key setup that wasn’t available out of the box. - Backend Development:
Developing the backend inC++to manage data aggregation and ensuring the proper serialization/deserialization for key exchange. - Ciphertext Management:
Handling large payloads of ciphertext in communications between the company and server, as well as storing this data securely.
Accomplishments That We’re Proud Of
- Pioneering Implementation:
Created the first-ever implementation of a split key homomorphic encryption scheme that is also verified through blockchain technology. - Deep Technical Insights:
Gained extensive knowledge about homomorphic encryption and blockchain technologies. - Full-Stack Integration:
Successfully integrated the complete stack of the application, ensuring that all components—including Customer Data, Company/Organization interfaces, and the Authority layer—worked seamlessly together in a local environment.
What We Learned
During the project, we expanded our knowledge in several key areas:
- Advanced Encryption Techniques:
Implementing and modifying homomorphic encryption libraries to support split keys. - Data Security in B2B SaaS:
Understanding the significance of data security and insurance in B2B solutions, and identifying market opportunities that benefit both businesses and consumers. - Web Integration:
Integrating Web-2 with Web-3 technologies, including the creation of full-stack visualizations and blockchain integrations, even with limited initial experience. - Full-Stack Development:
Building robust front-end applications and learning to balance creativity with technical feasibility. - Web-3 Security:
Recognizing the crucial role of Web-3 in enhancing web application security.
What’s Next for Cipher Shield
We envision Cipher Shield as the standard for mediating demographic and protected data collection across American companies—driving transformative societal outcomes in mitigating discrimination.
Future Plans:
- Scalable Data Aggregation:
Extending our capabilities to securely combine datasets from multiple sources (e.g., hospital records). - Developer SDK:
Creating an easy-to-use SDK for organizations and industries that are less familiar with blockchain and encryption. - Seamless Integration:
Developing a web embedding feature to allow companies to directly integrate a Cipher Shield form or application into their websites.
Analysis
View
Metric
- 79
- 24
- 23
- 19
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CIn code
- C++In code
- CSSIn code
- ExpressIn code
- HTMLIn code
- JavaScriptIn code
- ReactIn code
- SolidityIn code
- SupabaseIn code
- Tailwind CSSIn code
- TypeScriptIn code
- Node.jsClaimed
11 of 12 appear in the indexed code. 1 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
999 KB
Source files
175
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
zoraizmohammad/cipher-shield
206 files · 2.7 MB · @ c169d3c
Structure
Interface
124 files · 60%Screens, components and styles rendered to the user.
API & routing
2 files · 1%Request entry points: routes, handlers and controllers.
Application logic
38 files · 18%Domain rules, services and shared utilities.
+4 moreData & schema
3 files · 1%Schema definitions, migrations and data access.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- TypeScript52%
- C43%
- C++3%
- Markdown1%
- Solidity1%
- CSS0%
- Other (2)0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
frontend/package.json
npm · 70- @hookform/resolvers
- @radix-ui/react-accordion
- @radix-ui/react-alert-dialog
- @radix-ui/react-aspect-ratio
- @radix-ui/react-avatar
- @radix-ui/react-checkbox
- @radix-ui/react-collapsible
- @radix-ui/react-context-menu
- @radix-ui/react-dialog
- @radix-ui/react-dropdown-menu
- @radix-ui/react-hover-card
- @radix-ui/react-label
- @radix-ui/react-menubar
- @radix-ui/react-navigation-menu
- @radix-ui/react-popover
- @radix-ui/react-progress
- @radix-ui/react-radio-group
- @radix-ui/react-scroll-area
- +52 more
ciphertext-landing/package.json
npm · 67- @hookform/resolvers
- @radix-ui/react-accordion
- @radix-ui/react-alert-dialog
- @radix-ui/react-aspect-ratio
- @radix-ui/react-avatar
- @radix-ui/react-checkbox
- @radix-ui/react-collapsible
- @radix-ui/react-context-menu
- @radix-ui/react-dialog
- @radix-ui/react-dropdown-menu
- @radix-ui/react-hover-card
- @radix-ui/react-label
- @radix-ui/react-menubar
- @radix-ui/react-navigation-menu
- @radix-ui/react-popover
- @radix-ui/react-progress
- @radix-ui/react-radio-group
- @radix-ui/react-scroll-area
- +49 more
blockchain/package.json
npm · 18- @openzeppelin/contracts
- axios
- cors
- dotenv
- ethers
- express
- +12 more
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.