Cypher Technical Documentation
  • Introduction
    • Overview
    • Key Features and Technical Advantages
    • Developer Focused Development
  • Technical Innovation
    • Fully Homomorphic Encryption EVM (fhEVM)
    • Layer 3 Architecture
    • Privacy-Preserving Data Management
    • Seamless Integration
    • Optimized for Privacy-Critical Applications
  • Cypher’s fhEVM Technology
    • What is fhEVM?
    • Architecture of fhEVM
    • Detailed Supported Operations in fhEVM
  • Deploying Smart Contracts on Cypher Testnet
    • Configuration and Deployment
    • Obtaining Testnet Tokens
  • Operations in a fhEVM Framework
    • Concepts
    • Random
    • Secret Store and Access Control in Encrypted Smart Contracts
    • Using fhevmjs for Encrypted Smart Contract Development
  • Tokenomics V2
    • $DEAI Token
    • Token Utility
    • Token Distribution
  • Cypher Layer 3 Tech Integration
  • Glossary
Powered by GitBook
On this page
  • 1. Data Flow
  • 2. Execution Model
  1. Cypher’s fhEVM Technology

Architecture of fhEVM

PreviousWhat is fhEVM?NextDetailed Supported Operations in fhEVM

Last updated 5 months ago

1. Data Flow

  • Encryption: Input data is encrypted off-chain using FHE-compatible libraries or SDKs (e.g., fhevmjs).

  • Computation: Encrypted data is processed on-chain using FHE-based instructions within the fhEVM runtime.

  • Decryption/Re-encryption: Outputs can be decrypted or re-encrypted securely for off-chain use or further computation.

2. Execution Model

fhEVM extends the EVM opcode set to include encrypted operations while preserving compatibility with traditional EVM functionalities. Key aspects:

  • Instruction Handling: Specialized FHE instructions for arithmetic, logical, and bitwise operations.

  • Gas Optimization: Enhanced mechanisms to minimize computational overhead associated with FHE.

  • Encrypted State Persistence: Stores encrypted state variables in persistent contract storage.

The fhEVM sets a new standard for privacy and security in blockchain computing by integrating Fully Homomorphic Encryption into the Ethereum Virtual Machine. It provides developers with the tools to build privacy-preserving, scalable, and efficient decentralized applications while maintaining compatibility with the broader Ethereum ecosystem. By enabling encrypted data processing natively, fhEVM opens up new possibilities for blockchain applications across finance, healthcare, AI, and more.

For more details and implementation:

  • Source Code:

Cypher GitHub Repository