Discuss this help topic in SecureBlackbox Forum

TSBSymmetricCryptoMode

Declared in     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Defines possible symmetric encryption modes

Declaration

[C#/Java]
    public enum TSBSymmetricCryptoMode { cmDefault = 0, cmECB = 1, cmCBC = 2, cmCTR = 3, cmCFB8 = 4, cmGCM = 5, cmCCM = 6, cmAEADChaCha20Poly1305 = 7 };

[VB.NET]
    Enum TSBSymmetricCryptoMode
        cmDefault = 0
        cmECB = 1
        cmCBC = 2
        cmCTR = 3
        cmCFB8 = 4
        cmGCM = 5
        cmCCM = 6
        cmAEADChaCha20Poly1305 = 7
    End Enum

[Pascal]
    TSBSymmetricCryptoMode = (cmDefault, cmECB, cmCBC, cmCTR, cmCFB8, cmGCM, cmCCM);

[C++]
    typedef uint8_t TSBSymmetricCryptoModeRaw;
    typedef enum { _cmDefault = 0, _cmECB = 1, _cmCBC = 2, _cmCTR = 3, _cmCFB8 = 4, _cmGCM = 5, _cmCCM = 6, _cmAEADChaCha20Poly1305 = 7 } TSBSymmetricCryptoMode;

[PHP]
    class TSBSymmetricCryptoMode extends TSBBaseEnum {
        const cmDefault = 0;
        const cmECB = 1;
        const cmCBC = 2;
        const cmCTR = 3;
        const cmCFB8 = 4;
        const cmGCM = 5;
        const cmCCM = 6;
        const cmAEADChaCha20Poly1305 = 7;
    }

Possible values:

Declared in

.NET:
  • Namespace: SBSymmetricCrypto
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBSymmetricCrypto
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbsymmetriccrypto.h

Discuss this help topic in SecureBlackbox Forum