Random Number Generation


#1

Hello,

Is Enigma supporting Random Number Generation? If so, how?

I did not manage to find documentation or example on it but the ReadTheDodcs (https://enigma.co/protocol/AboutThisRelease.html) says:
Single Preprocessors:
We future releases will include a number of special functions (preprocessors) which extend the smart contract language to include features exclusive to the Enigma network. This version includes a single one: a random number generator.

Thank you,
Michael


#2

Hey Michael,

SGX can be used for source of randomness - there’s an RNG function. @adi can you pls elaborate?
Cheers