Padding class sealed
How many zero bytes a sender appends to the signed envelope inside the encryption, so the ciphertext's length shows little about the message.
Receivers strip any number of zeros, so the policy is the sender's alone and can change without them. A padded size beyond what the platform can address, which takes a message of gigabytes, surfaces as the bridge's panic exception.
Constructors
- Padding.buckets({required int floor, required int step})
-
Pads to the smallest size that fits the signed envelope.
factory
- Padding.none()
-
Keeps the signed envelope unpadded.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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