Use of Chinese Remainder Theorem to generate random numbers for cryptography