Trait tfhe::prelude::FheTrivialEncrypt

source ·
pub trait FheTrivialEncrypt<T> {
    // Required method
    fn encrypt_trivial(value: T) -> Self;
}
Available on crate feature integer only.

Required Methods§

source

fn encrypt_trivial(value: T) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl FheTrivialEncrypt<bool> for FheBool

source§

impl<Id, T> FheTrivialEncrypt<T> for FheInt<Id>
where T: DecomposableInto<u64>, Id: FheIntId,

source§

impl<Id, T> FheTrivialEncrypt<T> for FheUint<Id>
where T: DecomposableInto<u64> + UnsignedNumeric, Id: FheUintId,