SecureBlackbox 2020 iOS Edition

Questions / Feedback?

padding (property)

The padding type to apply to the encrypted data.

Syntax

@property (nonatomic,readwrite,assign,getter=padding,setter=setPadding:) int padding;
- (int)padding;
- (void)setPadding:(int)newPadding;

/* Possible Values */
SCP_NONE(0),
SCP_PKCS5(1),
SCP_ANSIX923(2)
public var padding: SymmetriccryptoPaddings {
  get {...}
set {...} }
public enum SymmetriccryptoPaddings : Int32 { case scpNone = 0 case scpPKCS5 = 1 case scpANSIX923 = 2 }

Default Value

1

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

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