SecureBlackbox 2020 C++ Edition

Questions / Feedback?

BitsInKey Property

The length of the encryption key.

Syntax

ANSI (Cross Platform)
int GetBitsInKey();
int SetBitsInKey(int iBitsInKey); Unicode (Windows) INT GetBitsInKey();
INT SetBitsInKey(INT iBitsInKey);
@property (nonatomic,readwrite,assign,getter=bitsInKey,setter=setBitsInKey:) int bitsInKey;
- (int)bitsInKey;
- (void)setBitsInKey:(int)newBitsInKey;
#define PID_MESSAGEENCRYPTOR_BITSINKEY 1

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_MessageEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MessageEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

When using a variable-key encryption algorithm (typical examples are RC4, RC2, and Blowfish), provide the desired key length via this property.

This value is ignored if a fixed-key algorithm (such as AES128 or 3DES) is used.

Data Type

Integer

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