Hardware random number generator for FPGAs