SecureBlackbox 2020 macOS Edition

Questions / Feedback?

Mode Property

Specifies the symmetric cipher mode of operation.

Syntax

public var mode: SymmetriccryptoModes {
get {...}
set {...} }

public enum SymmetriccryptoModes: Int32 { case scmDefault = 0 case scmECB = 1 case scmCBC = 2 case scmCTR = 3 case scmCFB8 = 4 case scmGCM = 5 case scmCCM = 6 case scmPoly1305 = 7 }

Default Value

0

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

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