Padding class abstract
The interface that a padding conforms to.
- Inheritance
- Implementers
Constructors
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPadding(
Uint8List data, int offset) → int - Add the pad bytes to the passed in block, returning the number of bytes added.
-
init(
[CipherParameters? params]) → void - Initialise the padder. Normally, paddings don't need any init params.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padCount(
Uint8List data) → int - Get the number of pad bytes present in the block.
-
process(
bool pad, Uint8List data) → Uint8List -
Process a whole block of
data
at once, returning the result in a byte array. Ifpad
is true adds padding to the given block, otherwise, padding is removed. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited