Skip to main content

FHE.sol

AspectDescription
TypeSolidity library
FunctionProvides a user-facing implementation of all Fully Homomorphic Encryption (FHE) operations, supporting every compatible input type.
ResponsibilitiesImplements all FHE operations, making them accessible within Solidity smart contracts.

Usage

import {FHE} from "@fhenixprotocol/cofhe-contracts/FHE.sol";

For a complete reference of all available functions and their usage, check out the FHE.sol API documentation.