Scheme class

Represents the supported schemes used by the backend.

Supported schemes:

  • Brakerski-Fan-Vercauteren (BFV) scheme supports integer arithmetic, ciphertext coefficent uses Most Significant Bits (MSB).
  • Brakerski-Gentry-Vaikuntanathan (BGV) scheme supports integer arithmetic, ciphertext coefficent uses Least Significant Bits (LSB).
  • Cheon-Kim-Kim-Song (CKKS) scheme supports approximate real-number arithmetic.

Constructors

Scheme()
Initializes an unspecified scheme.
Scheme.set(String fromName)
Initializes a scheme using the provided name.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The friendly name of the scheme.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The integer value of the scheme.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited