Crate tfhe

source ·
Expand description

Welcome to the TFHE-rs API documentation!

TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama’s variant of TFHE.

Modules

  • booleanboolean
    Welcome to the TFHE-rs boolean module documentation!
  • Welcome to the TFHE-rs core_crypto module documentation!
  • errorsboolean or shortint or integer
  • integerinteger
    Welcome to the TFHE-rs integer module documentation!
  • parametersboolean or shortint or integer
  • preludeboolean or shortint or integer
    The tfhe prelude. The purpose of this module is to make it easier to have the most commonly needed traits of this crate.
  • shortintshortint
    Welcome to the TFHE-rs shortint module documentation!

Structs

  • ClientKeyboolean or shortint or integer
    Key of the client
  • CompressedPublicKeyboolean or shortint or integer
  • Configboolean or shortint or integer
    The config type
  • ConfigBuilderboolean or shortint or integer
    The builder to create your config
  • CrtParametersinteger and (boolean or shortint or integer)
    Parameters for ‘CRT’ decomposition
  • FheBoolParametersboolean and (boolean or shortint or integer)
    Parameters for FheBool.
  • A Generic FHE unsigned integer
  • OutOfRangeErrorboolean or shortint or integer
    Error when trying to create a short integer from a value that was too big to be represented
  • PublicKeyboolean or shortint or integer
  • RadixParametersinteger and (boolean or shortint or integer)
    Parameters for ‘radix’ decomposition
  • ServerKeyboolean or shortint or integer
    Key of the server

Enums

  • Errorboolean or shortint or integer

Functions

Type Definitions

  • CompressedFheBoolboolean and (boolean or shortint or integer)
  • CompressedFheUint2shortint and (boolean or shortint or integer)
  • CompressedFheUint3shortint and (boolean or shortint or integer)
  • CompressedFheUint4shortint and (boolean or shortint or integer)
  • CompressedFheUint8integer and (boolean or shortint or integer)
  • CompressedFheUint10integer and (boolean or shortint or integer)
  • CompressedFheUint12integer and (boolean or shortint or integer)
  • CompressedFheUint14integer and (boolean or shortint or integer)
  • CompressedFheUint16integer and (boolean or shortint or integer)
  • CompressedFheUint32integer and (boolean or shortint or integer)
  • CompressedFheUint64integer and (boolean or shortint or integer)
  • CompressedFheUint128integer and (boolean or shortint or integer)
  • CompressedFheUint256integer and (boolean or shortint or integer)
  • FheBoolboolean and (boolean or shortint or integer)
  • FheUint2shortint and (boolean or shortint or integer)
    An unsigned integer type with 2 bits.
  • FheUint2Parametersshortint and (boolean or shortint or integer)
    Parameters for the FheUint2 data type.
  • FheUint3shortint and (boolean or shortint or integer)
    An unsigned integer type with 3 bits.
  • FheUint3Parametersshortint and (boolean or shortint or integer)
    Parameters for the FheUint3 data type.
  • FheUint4shortint and (boolean or shortint or integer)
    An unsigned integer type with 4 bits.
  • FheUint4Parametersshortint and (boolean or shortint or integer)
    Parameters for the FheUint4 data type.
  • FheUint8integer and (boolean or shortint or integer)
    An unsigned integer type with8bits
  • FheUint10integer and (boolean or shortint or integer)
    An unsigned integer type with10bits
  • FheUint12integer and (boolean or shortint or integer)
    An unsigned integer type with12bits
  • FheUint14integer and (boolean or shortint or integer)
    An unsigned integer type with14bits
  • FheUint16integer and (boolean or shortint or integer)
    An unsigned integer type with16bits
  • FheUint32integer and (boolean or shortint or integer)
    An unsigned integer type with32bits
  • FheUint64integer and (boolean or shortint or integer)
    An unsigned integer type with64bits
  • FheUint128integer and (boolean or shortint or integer)
    An unsigned integer type with128bits
  • FheUint256integer and (boolean or shortint or integer)
    An unsigned integer type with256bits