PKCS7Padding class
A Padding that adds PKCS7/PKCS5 padding to a block.
- Implemented types
Constructors
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setteroverride
- 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.
override
-
init(
[CipherParameters? params]) → void -
Initialise the padder. Normally, paddings don't need any init params.
override
-
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.
override
-
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.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- factoryConfig → FactoryConfig
-
final