Documentation Index
Fetch the complete documentation index at: https://cofhe-docs.fhenix.zone/llms.txt
Use this file to discover all available pages before exploring further.
isInitialized
Checks whether an encrypted value has been initialized (i.e., is not a zero/empty handle). Works on all encrypted types.unwrap
Extracts the rawbytes32 handle from a typed encrypted value.
wrap
Wraps a rawbytes32 handle into a typed encrypted value. One function per type:
Renamed in
cofhe-contracts@v0.1.3. These functions used to be exposed as FHE.asEbool(bytes32), FHE.asEuint*(bytes32), and FHE.asEaddress(bytes32). They were renamed to wrap* to remove a Solidity overload ambiguity with asEuint*(0) (where the integer literal 0 could resolve to either the plaintext-trivial-encryption overload or the raw-handle overload). If you’re upgrading from <=0.1.2, search for FHE.asE*(<bytes32-value>) call sites and rewrite them as FHE.wrap*.Random Number Generation
Generate random encrypted values. An optionalsecurityZone parameter is supported.