4d siden
Understanding the difference between encrypted and zk smart contracts highlights their individual importance, how they complement each other, and clarifies what Zama is building and why it is important too
Encrypted vs zk Smart Contracts Zero-knowledge proofs and Fully Homomorphic Encryption address privacy on blockchains from different angles. Understanding the distinction is important so as to not confuse the both. Zk-Smart Contracts (verification without exposure) Zero-knowledge proofs let a prover convince a verifier that a computation or statement is correct without revealing the underlying inputs. In many zk workflows, the heavy computation or the sensitive data remain off-chain, the zk proof is submitted on-chain to attest correctness. This model is powerful when the goal is to publish a small, verifiable statement about a larger private computation. Encrypted Smart Contracts ( compute while data stays encrypted) Fully Homomorphic Encryption (FHE) enables arbitrary computation directly on ciphertexts so that the resulting ciphertext, once decrypted by an authorized party, matches the result of the same computation on plaintext. In simple terms, FHE lets systems compute without ever revealing the inputs. The original FHE construction and bootstrapping idea are due to Craig Gentry (2009), which set the theoretical foundation for practical work that followed. @zama_fhe's approach uses FHE to bring this capability to smart contracts, by which developers write contracts in Solidity using an FHE library (fhEVM), host chains emit pointers and events, and off-chain coprocessors perform the FHE work and store ciphertexts. The protocol is explicitly designed so that encrypted computation is verifiable and orchestrated rather than hidden.
10,87k
50
Innholdet på denne siden er levert av tredjeparter. Med mindre annet er oppgitt, er ikke OKX forfatteren av de siterte artikkelen(e) og krever ingen opphavsrett til materialet. Innholdet er kun gitt for informasjonsformål og representerer ikke synspunktene til OKX. Det er ikke ment å være en anbefaling av noe slag og bør ikke betraktes som investeringsråd eller en oppfordring om å kjøpe eller selge digitale aktiva. I den grad generativ AI brukes til å gi sammendrag eller annen informasjon, kan slikt AI-generert innhold være unøyaktig eller inkonsekvent. Vennligst les den koblede artikkelen for mer detaljer og informasjon. OKX er ikke ansvarlig for innhold som er vert på tredjeparts nettsteder. Beholdning av digitale aktiva, inkludert stablecoins og NFT-er, innebærer en høy grad av risiko og kan svinge mye. Du bør nøye vurdere om handel eller innehav av digitale aktiva passer for deg i lys av din økonomiske tilstand.