The TbcPadding type exposes the following members.

Collapse imageConstructors

  NameDescription
Public methodTbcPadding
Initializes a new instance of the TbcPadding class

Collapse imageMethods

  NameDescription
Public methodAddPadding
add the pad bytes to the passed in block, returning the number of bytes added.

Note: this assumes that the last block of plain text is always passed to it inside in. i.e. if inOff is zero, indicating the entire block is to be overwritten with padding the value of in should be the same as the last block of plain text.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
Initialise the padder.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPadCount
return the number of pad bytes present in the block.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Collapse imageProperties

  NameDescription
Public propertyPaddingName
Return the name of the algorithm the cipher implements.

Collapse imageSee Also