e-CryptIt Engine Xojo Plugin

Serpent.PaddingBlockSize Method

Use this property to get the padding value that is needed for this algorithm. (Serpent will always return 16 here).

PaddingBlockSize() as Integer

Parameters

Returns

Integer
16 is always returned in this algorithm.

Remarks

The Serpent encrypts in pairs of 16 bytes, so if you have data that does not add up to 16 then you will need to add PaddingBlockSize-1 bytes of random data to ensure that all of your data is encrypted.

See Also

Serpent Class