Printer FriendlyEmail Article Link

Avalanche: How Avalanche Randomize the Data for the Embedded String?

Environment/Versions

Take Avalanche 4.33 or higher and the device is C100.

Answer

The algorithm generates a uniformly distributed random byte value of between 33 and 126 for each character in the text.



So in the example above, it will create a string of 100000 uniformly distributed random bytes. Each time a string is created, the random number generator is assigned a new seed, which is actually based on "ticks" which is approximately the number of CPU cycles since the machine was started.


Product : Appliance,Avalanche