Class: PaddingMode

PaddingMode

Abstract class which provides base functionality for byte padding subclasses

<virtual> new PaddingMode()

NOTE: you can't instantiate this class directly. Instead, create instances of a subclass, such as ZeroPadding or PKCS7.
Source:

Methods

initialize(data) → {PaddingMode}

Invoked during subclass instantiation. All properties needed to initialize the class must be passed in.
Parameters:
Name Type Description
data Object A list of properties used to initialize the class.
Properties
Name Type Description
cipher BlockCipher A reference to a BlockCipher subclass instance. Used to get information about the block size.
Source:
Returns:
Type
PaddingMode