SecureBlackbox 2020 Android Edition

Questions / Feedback?

Mode Property

Specifies the symmetric cipher mode of operation.

Syntax

public int getMode();
public void setMode(int mode);

Enumerated values: public final static int scmDefault = 0; public final static int scmECB = 1; public final static int scmCBC = 2; public final static int scmCTR = 3; public final static int scmCFB8 = 4; public final static int scmGCM = 5; public final static int scmCCM = 6; public final static int scmPoly1305 = 7;

Remarks

Use this property to specify the mode of operation as required by your environment. The defaultsetting is CBC.

scmDefault0The default mode in current circumstances.

scmECB1ECB (electronic code book) mode. This is insecure, unless you know how to use it right.

scmCBC2CBC (cipher block chaining mode)

scmCTR3Counter mode

scmCFB84Cipher feedback mode

scmGCM5Galois counter mode

scmCCM6CCM mode

Default Value

0

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