Types & Operations
Types
Integer
// let clear_a: u64 = 7;
let mut a = FheUint64::try_encrypt(clear_a, &keys)?;
// let clear_b: i8 = 3;
let mut b = FheInt8::try_encrypt(clear_b, &keys)?;
// let clear_c: u128 = 2;
let mut c = FheUint128::try_encrypt(clear_c, &keys)?;Operations
Arithmetic operations
name
symbol
type
Bitwise operations
name
symbol
type
Comparison operations
name
symbol
type
Min/Max operations
name
symbol
type
Ternary conditional operations
name
symbol
type
Casting operations
Boolean Operations
name
symbol
type
Last updated
Was this helpful?