Casting and trivial encryption
1. Trivial encryption
Overview
Example
euint64 value64 = FHE.asEuint64(7262); // Trivial encrypt a uint64
ebool valueBool = FHE.asEbool(true); // Trivial encrypt a boolean2. Casting between encrypted types
From type
To type
Function
Workflow for encrypted types
Overall operation summary
Casting Type
Function
Input Type
Output Type
Last updated