简析FHE全同态加密:技术原理、应用场景和有关项目

Odaily星球日报Опубліковано о 2024-05-08Востаннє оновлено о 2024-05-08

Анотація

FHE 全同态加密的想象空间有多大?

原文作者:Haotian

Vitalik 一篇关于 FHE(Fully Homomorphic Encryption)全同态加密的文章,又一次激发了大家对新型加密技术的探索和想象空间。在我看来,FHE 全同态加密的确比 ZKP 技术想象空间大了一个梯级,可以助力 AI+Crypto 更多应用场景落地。该如何理解呢?  

1)定义:FHE 全同态加密可实现对特定形式的加密数据进行运算,而不必担心暴露数据和隐私。相比之下,ZKP 只能解决数据在加密状态下的一致性传输问题,接收数据方只能验证提交数据方的数据是真实的,是点对点的加密传输方案;而全同态加密并没有限定进行运算的主体范围,因此可视为一种多对多的加密运算方案。  

2)How it works:传统计算机运算都是对明文数据展开运算,如果是加密数据需要先解密再进行计算,这样一来难免会暴露隐私数据。同态加密构造了一种特殊的加密方案,可以对密文进行「同态」变换,使得运算得到的结果与明文进行运算保持相同。 在同态加密系统中明文的加法运算相当于密文的乘法运算(一种规律),因此若想要对明文数据进行加法,只需要对密文进行乘法计算即可(等效性)。  

总之,同态加密就是通过特殊的同态变化使得数据在密文状态下运算可以得到明文一样的结果,只需要确保在运算规则的同态对应特性即可。  

3)应用场景:在传统互联网领域,FHE 全同态加密可以在云存储、生物识别、医疗健康、金融、广告投放、基因测序等非常广泛的领域应用到。 以生物识别为例,个人的指纹、虹膜、面部等生物特征数据都是敏感数据,使用 FHE 技术可以实现这些数据在服务器密文状态下进行对比和验证;同理,医疗健康领域多年的数据割裂,可以用 FHE 来打破,让不同医疗结构可以在不共享原始数据的情况下进行联合分析和建模。  

而在 Crypto 领域,FHE 应用空间也可以涉及游戏、DAO 投票治理、MEV 保护、隐私交易、监管合规等多个需要重隐私的场景。以游戏场景为例:平台在不窥探玩家手里卡牌的前提下,展开运算推动游戏进行,使得游戏更加公平;

 同样以 DAO 投票为例,巨鲸参与投票治理可以不暴露地址和投票数量,就能让协议通过运算产生投票结果;此外用户可以向 Mempool 传入加密的交易,进而可避免目标地址、转账数额等隐私消息被暴露;又比如监管场景,政府可以监控资金池,在不查看合法交易隐私数据的钱体系把涉黑地址的资产剥离。  

4)不足之处:值得注意的是,计算机明文实施常规运算的计算环境往往比较复杂,除了加减乘除还有条件循环、逻辑门判断等等,而半同态加密和全同态加密等目前只能在加法和乘法上快速展开,更复杂的运算需要组合叠加,相应会加大算力需求。 

因此,理论上全同态加密可以支持任意计算,但碍于性能瓶颈和算法特质使得当前能够高效执行的同态计算种类和复杂度非常有限。大凡复杂的运算就会需要较大的计算算力消耗。故而,全同态加密的技术落地过程其实是算法优化和计算算力成本控制优化的发展过程,尤其要关注硬件加速和算力增强之后的表现。 

以上  

在我看来,FHE 全同态加密虽然短时间很难成熟落地并应用,但其作为 ZKP 技术的延展补充,可以为 AI 大模型隐私计算、AI 数据联合建模、AI 协作训练、Crypto 隐私合规交易、Crypto 场景延伸等方面提供很好的助力价值。

Пов'язані матеріали

Stablecoin Salaries: Why Are They Becoming the First Choice for Cross-Border Workers?

Stablecoin Salaries: Why They're Becoming the Top Choice for Global Remote Workers The traditional global salary system carries hidden exchange rate risks for freelancers in countries like India, Argentina, and Turkey who earn in USD but spend in local currencies. When salaries are instantly converted to local currency, workers lose purchasing power if that currency depreciates against the dollar. For instance, an Indian designer converting a $2000 monthly salary to rupees lost over 10% in purchasing power last year due to the rupee's decline. Holding even a portion of income in USD or USD-pegged stablecoins can preserve value. Stablecoins offer a solution by breaking down barriers to holding dollars. Opening foreign USD bank accounts is difficult, and international wire transfers incur high fees (averaging 6.5%) and delays. In contrast, stablecoin transfers are fast and low-cost. Furthermore, many countries with high inflation and depreciating currencies restrict citizens' access to foreign currency. Self-custody stablecoin wallets enable workers to hold dollar-equivalent assets without needing bank approval, bypassing these limits. These wallets integrate multiple functions: they allow users to convert only what's needed for daily expenses into local currency, keep the remainder in stablecoins, connect to on-chain lending or yield products, and even link to payment cards for direct spending. While challenges remain—such as the lack of deposit insurance and evolving regulatory frameworks—the trend is clear. Reports indicate a growing preference for USD or stablecoin payments among freelancers in high-inflation countries. This shift represents a fundamental restructuring of salary functions: payment currency, asset storage, yield generation, spending, and cross-border flow. It offers the freedom and flexibility that are core to money's purpose, signaling a profound change in the global financial landscape.

Foresight News3 хв тому

Stablecoin Salaries: Why Are They Becoming the First Choice for Cross-Border Workers?

Foresight News3 хв тому

Don't Just Focus on Layoffs, The New Structure of the Ethereum Foundation is More Worthy of Appreciation

The Ethereum Foundation (EF) has undergone a significant organizational restructuring, with the most notable change being a strategic refocusing of its priorities rather than just a 20% staff reduction (approximately 54 people). The new structure clearly prioritizes the Protocol and Access layers, which now comprise the largest teams (57 and 34 people, respectively). This signals EF's intent to concentrate its core resources on fundamental, hard-to-outsource aspects of Ethereum: protocol evolution, security, privacy, client development, and the foundational access layer. Key areas within the Protocol layer, led by an architecture group including Vitalik Buterin and Justin Drake, receive heightened emphasis. These include post-quantum security, zkEVM, formal verification, and long-term roadmap development ("Strawmap"). This reflects a shift towards tackling complex, interdependent challenges like scalability, privacy, and future-proofing the protocol, potentially moving from a pure "redundant security" multi-client model towards more specialized clients aided by AI-assisted formal verification. Financially, EF's budget is being reduced by approximately 40%. The goal is to transition from spending about 15% of its remaining funds annually to a more sustainable 5% rate, akin to a long-term endowment, ensuring its longevity. Concurrently, the restructuring involves pushing certain responsibilities—such as application development, adoption, and ecosystem coordination—to external organizations like EthLabs, the Ethereum Apps Guild, and others. This "multi-node" model aims to increase ecosystem resilience by decentralizing functions beyond the EF, though it introduces new coordination challenges. In essence, the reorganization represents EF consciously narrowing its scope to focus on the hardest, most critical protocol-level problems while fostering a more distributed and sustainable ecosystem structure for Ethereum's future growth.

Foresight News31 хв тому

Don't Just Focus on Layoffs, The New Structure of the Ethereum Foundation is More Worthy of Appreciation

Foresight News31 хв тому

Report Analysis: What Is Coherent Planning as CPO Booms?

Title: Report Interpretation: What Moves Is Coherent Making Amid the CPO Boom? Summary: JP Morgan analyst Samik Chatterjee reiterates an Overweight rating on Coherent (COHR), citing undervalued growth potential across three core areas: data center optical transceivers, co-packaged optics (CPO) chips, and industrial lasers/thermal management. COHR's 1.6T data center transceivers are in high demand, with pricing remaining firm. The rise of CPO is seen not as a threat but as a catalyst, creating higher demand for sophisticated optical components, an area where COHR holds a competitive edge with its comprehensive portfolio (lasers, isolators, VCSELs, thermoelectric coolers). Each CPO chip offers significantly greater revenue potential than traditional transceivers. Furthermore, its Optical Circuit Switch (OCS) technology targets a potential $4B market with reliability and power advantages. The company is expanding its InP (Indium Phosphide) device capacity fourfold within two years, securing substrate supply and transitioning to more cost-effective 6-inch wafers. As one of only two major suppliers of high-quality pump lasers—currently in severe shortage—COHR can now move up the value chain from components to complete line cards/systems, boosting ASP over tenfold. Gross margin targets (>42%) may be revised upward due to high-end product premiums, cost improvements from the wafer transition, and contributions from new high-margin products like CPO and OCS. Its efficient thermadite thermal material also offers long-term growth. Industrial segment revenue grows at a steady 5-10%, supported by semiconductor equipment orders. Changes in Apple's Face ID protocol present a re-competition opportunity for 3D sensing. Overall, Coherent is positioned as a key infrastructure provider, with AI-driven compute demand fueling the need for high-speed optical interconnectivity. Growth from CPO/OCS, stable industrial performance, and margin improvement support the bullish thesis. *Disclaimer: This summary interprets a third-party analyst report from JP Morgan. It does not constitute investment advice.*

marsbit53 хв тому

Report Analysis: What Is Coherent Planning as CPO Booms?

marsbit53 хв тому

Dan Koe's New Article: Escape the Fate of the Wage Slave, How to Survive in the Tide of AI Replacement?

Dan Koe's article argues that the real threat in the AI era is not technology itself, but financial dependency on employers. He critiques the "wage slavery" of unfulfilling work and identifies five core skills for resilience: agency, taste, persuasion, persistence, and iteration. These are developed not by consuming content, but by starting your own venture. The key to escaping the "employee mindset" is a radical identity shift. This requires: 1) Drastically changing your environment and daily inputs, 2) Choosing a creative medium (like content or code) that provides real-world feedback through trial and error, and 3) Using that feedback to learn and adapt. Koe strongly advocates for content creation over coding for beginners, as it builds irreplaceable subjective taste and audience connection. The practical starting point is a 15-minute self-inquiry to define your "life's work." Answer: What do you know deeply? What innate abilities do you have? What childhood interests were suppressed? Then, identify your contrarian beliefs—what does the mainstream get wrong in your area? The overlap is your unique direction. The final, non-negotiable step is to publish your first piece of content tomorrow. Embrace that it will be bad; the goal is to enter the feedback loop of creation, learning, and iteration, which is the true path to independence.

marsbit1 год тому

Dan Koe's New Article: Escape the Fate of the Wage Slave, How to Survive in the Tide of AI Replacement?

marsbit1 год тому

After Laying Off 20% of Staff, What Are the Key Points of EF's New Structure?

Following the completion of a months-long organizational restructuring, the Ethereum Foundation (EF) announced a 20% workforce reduction (approximately 54 employees) on June 23rd. It reorganized its teams into five new core clusters: Protocol, Access, User, Community, and Institutional (plus Operations/Management support units). Officially, this move implements the EF's 2026 Mandate and 2025 Treasury Management Policy, aiming to create a more focused and "self-sovereign" organization. The restructuring prioritizes the CROPS principles—Censorship Resistance, Openness & Freedom, Privacy, and Security—as foundational organizational tenets. The Protocol cluster will focus on core protocol R&D, including MEV reduction and zkEVM. The Access cluster emphasizes preserving user "zero option" for non-custodial, permissionless interaction. The User, Community, and Institutional clusters will manage external engagement, with the latter handling institutional and regulatory matters. While offering enhanced severance and transition support for affected employees, the EF did not disclose budget allocations or specific KPIs for the new clusters. This has led to market uncertainty about the impact on project funding and development priorities. Analysts note the announcement's positive tone of mission focus contrasts with a backdrop of recent EF leadership changes and broader ecosystem pressures. The true impact—whether this signifies strategic realignment or reactive contraction—will become clearer as the new structure's resource allocation and project prioritization are revealed in the coming months.

marsbit1 год тому

After Laying Off 20% of Staff, What Are the Key Points of EF's New Structure?

marsbit1 год тому

Торгівля

Спот
Ф'ючерси
活动图片