SecureBlackbox 2020 Android Edition

Questions / Feedback?

Padding Property

The padding type to apply to the encrypted data.

Syntax

public int getPadding();
public void setPadding(int padding);

Enumerated values: public final static int scpNone = 0; public final static int scpPKCS5 = 1; public final static int scpANSIX923 = 2;

Remarks

Use this property to specify the padding type to use with the encrypted data. A paddingtype commonly used in modern security environments is PKCS#5.

scpNone0No padding. You might need to adjust the length of the input data to align it by the encryption block boundary.

scpPKCS51Standard PKCS5 (sometimes also referred to as PKCS7) padding

scpANSIX9232ANSI X.923 padding

Default Value

1

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Android Edition - Version 20.0 [Build 8156]