Ciphera
Prove identity without revealing it.
The problem Ciphera solves
Modern Web3 applications face a fundamental dilemma: how to enforce identity verification without compromising user privacy.
Today, platforms that require KYC typically collect and store sensitive personal information such as identity documents, biometric data, and addresses. This creates several critical issues:
i)Data Breach Risk – Every application storing identity documents becomes a potential attack surface.
ii)Regulatory Pressure – Laws like India’s DPDP Act and global regulations such as GDPR require strict data minimization.
iii)Sybil Attacks – DeFi protocols, DAOs, and airdrops struggle to verify unique human participants without breaking user anonymity.
iv)On-chain Privacy Risks – Storing identity-linked information on a blockchain creates permanent, public exposure.
Ciphera solves this by introducing a privacy-preserving identity verification layer for the Algorand blockchain.
Using Zero-Knowledge Proofs, Ciphera allows users to prove statements about themselves (such as being over 18 or holding a valid government ID) without revealing any underlying personal data.
Instead of collecting identity documents, applications simply receive a cryptographic verification result.
Example:
(I)User proves: "I am a verified Indian adult."
Application receives true / false
Personal data stored: none
(II)This enables developers to build compliant, Sybil-resistant, and privacy-preserving applications such as:
i)DeFi platforms requiring regulatory KYC
ii)Crypto exchanges onboarding verified users
iii)DAO governance systems requiring unique participants
iv)Sybil-resistant airdrops
v)Regulated fintech applications
Ciphera transforms KYC from a data collection problem into a cryptographic verification process.
Challenges I ran into
Building Ciphera involved several non-trivial engineering challenges across cryptography, blockchain infrastructure, and cross-language interoperability.
- Cross-Language ECIES Encryption Compatibility
One of the most difficult issues arose while implementing ECIES encryption between JavaScript (browser) and Python (backend).
Different cryptographic libraries interpret ECIES payloads differently:
i)The eciesjs library uses the full 65-byte uncompressed elliptic curve point for shared secret derivation.
ii)Python’s cryptography library typically extracts only the X-coordinate of the point.
iii)This mismatch caused decryption failures across environments.
Solution:
I implemented a custom compatibility layer in Python to reconstruct and process the full elliptic curve point used by the JavaScript implementation.
- AES-GCM Nonce Size Mismatch
Another issue appeared during encryption/decryption:
i)The JavaScript implementation used a 16-byte IV.
ii)The Python implementation expected the standard 12-byte GCM nonce.
This caused authentication failures during decryption.
Solution:
The backend explicitly slices and pads the IV to match the expected format before decrypting the payload.
- Ciphertext Tag Ordering
The two libraries also differed in how the GCM authentication tag was stored:
JavaScript: tag || ciphertext
Python: ciphertext || tag
This meant payloads could not be parsed correctly.
Solution:
I implemented deterministic parsing logic to reconstruct the encrypted payload and reorder the authentication tag before decryption.
- Designing Privacy-Safe Nullifiers
Another challenge was preventing cross-application tracking.
A naive design like:
nullifier = Hash(Aadhaar)
would create a global identifier linking a user across every dApp.
Solution:
Ciphera derives a per-application nullifier:
nullifier = Poseidon(aadhaar_hash, app_id, wallet_secret)
This ensures that the same user generates completely different identifiers across different applications, preserving privacy while still preventing Sybil attacks within each application.
Through solving these challenges, Ciphera was able to build a secure, privacy-preserving identity infrastructure that works seamlessly between browser environments, backend systems, and Algorand smart contracts.
