Types & Operations
Types
// 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)?;Operation list
Integer
Arithmetic operations.
name
symbol
type
Bitwise operations.
name
symbol
type
Comparisons.
name
symbol
type
Min/Max.
name
symbol
type
Ternary conditional operator.
name
symbol
type
Casting.
Boolean Operations
name
symbol
type
Last updated
Was this helpful?