Discuss this help topic in SecureBlackbox Forum

TElECIESCrypto.Padding

TElECIESCrypto     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Specifies the padding mode used for symmetric encryption or decryption.

Declaration

[C#]
    TSBSymmetricCipherPadding Padding;

[VB.NET]
    Property Padding As TSBSymmetricCipherPadding

[Pascal]
    property Padding : TSBSymmetricCipherPadding;

[C++]
    TSBSymmetricCipherPadding get_Padding();
    void set_Padding(TSBSymmetricCipherPadding Value);

[PHP]
    integer get_Padding()
    void set_Padding(integer $Value)

[Java]
    TSBSymmetricCipherPadding getPadding();
    void setPadding(TSBSymmetricCipherPadding Value);

TSBSymmetricCipherPadding values

Description

Use this property to specify the padding mode for the data. When encrypting the data, the encryptor will apply padding to the data. When decrypting the data, padding mode tells the decryptor what mode was actually used during encryption.

Padding is used to completement the data to have length of multiple of the block size. Padding is used for block modes of block encryption algorithms.

Discuss this help topic in SecureBlackbox Forum