lundi 27 novembre 2017

Deterministic random algorythm for fetch variable array random index

We need to implement lottery on PL/SQL.
Every time we have variable array with numbers and we need randomly, BUT deterministically (no rand()) select item using specified algorithm.
The selection must be repeatable.
Can you suggest some short pieces of code in every language for implement it on PL/SQL?




Aucun commentaire:

Enregistrer un commentaire