SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

Nonce Property

Specifies the Nonce value to employ.

Syntax

ANSI (Cross Platform)
int GetNonce(char* &lpNonce, int &lenNonce);
int SetNonce(const char* lpNonce, int lenNonce); Unicode (Windows) INT GetNonce(LPSTR &lpNonce, INT &lenNonce);
INT SetNonce(LPCSTR lpNonce, INT lenNonce);
@property (nonatomic,readwrite,assign,getter=nonce,setter=setNonce:) NSData* nonce;
- (NSData*)nonce;
- (void)setNonce:(NSData*)newNonce;
#define PID_SYMMETRICCRYPTO_NONCE 22

SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SymmetricCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SymmetricCrypto_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Remarks

Use this property to specify the Nonce value for the symmetric operation. Not every algorithm or modeuses nonce.

This property is not available at design time.

Data Type

Byte Array

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