SecureBlackbox Lite 2020 PHP Edition

Questions / Feedback?

Mode Property

Specifies the symmetric cipher mode of operation.

Object Oriented Interface

public function getMode();
public function setMode($value);

Procedural Interface

secureblackboxlite_symmetriccrypto_get($res, 21 );
secureblackboxlite_symmetriccrypto_set($res, 21, $value );

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

Data Type

Integer

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