Trand is more secure alternative to rand To compile: gcc your.c -L path_to_libtrand.a -ltrand trand functions vs stdlib rand outputs for consecutives calls with same seed: ![](https://i.ibb.co/52T316n/Screen-Shot-2020-07-03-at-20-35-59.png)