IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

Seed Property

The seed.

Syntax

ANSI (Cross Platform)
int GetSeed(char* &lpSeed, int &lenSeed);
int SetSeed(const char* lpSeed, int lenSeed); Unicode (Windows) INT GetSeed(LPSTR &lpSeed, INT &lenSeed);
INT SetSeed(LPCSTR lpSeed, INT lenSeed);
@property (nonatomic,readwrite,assign,getter=seed,setter=setSeed:) NSString* seed;
- (NSString*)seed;
- (void)setSeed:(NSString*)newSeed;

@property (nonatomic,readwrite,assign,getter=seedB,setter=setSeedB:) NSData* seedB; - (NSData*)seedB; - (void)setSeedB:(NSData*)newSeed;
#define PID_EZRAND_SEED 7

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_EzRand_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_EzRand_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the seed. This value is optional. If not specified and a seed is required the class will use the current time.

Seed Notes

  • When Algorithm is set to 0 (raISAAC) the class uses the leftmost 256 bytes.
  • When Algorithm is set to 1 (raMSCryptoAPI) the seed is ignored.
  • When Algorithm is set to 2 (raPlatform) the class uses the leftmost 4 bytes.
  • When Algorithm is set to 3 (raSecurePlatform) in .NET the seed is ignored. The seed is applicable in Java.

Data Type

Binary String

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