Plaintext class

Represents an underlying C plaintext object.

A plaintext is a message that has not been encrypted. It is the input to the encryption and operation functions, and the output of the decryption function.

Constructors

Plaintext(Backend backend)
Initializes a plaintext using the provided backend.
Plaintext.fromPointer(Backend backend, Pointer<NativeType> obj, {bool extractStr = true})
Initializes a plaintext from an existing C obj.
Plaintext.withValue(Backend backend, String text)
Initializes a plaintext C obj with text using the provided Backend.

Properties

backend Backend
Selects the Backend used for the encryption scheme.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
obj Pointer<NativeType>
A pointer to the memory address of the underlying C++ object.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Represents the value of the plaintext.
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