The TbcPadding type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | TbcPadding | Initializes a new instance of the TbcPadding class |
Methods
Name | Description | |
---|---|---|
![]() | AddPadding | 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. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | Init | Initialise the padder. |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | PadCount | return the number of pad bytes present in the block. |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | PaddingName | Return the name of the algorithm the cipher implements. |