# Create big random number from 2 smaller numbers?

If I have 2 true random numbers from atmospheric noise or a different source. Suppose $x= 299$ and $y= 499$. Is it possible to create a bigger number with $x$ to the power of $y$?

Can I use different sources like, pressure sensor + light sensor + movement sensor and calculate $x^{y^z}$ for a true random number?

However, if your RNG is biased, or outputs with a range that's not a power of 2, then you can use a cryptographic hash function to "mix" the randomness. If your RNG outputs uniformly between 0 and 99 (a range of 100), then each value is 6.6439 ( $log_2(100)$ ) bits of entropy. You can collect enough values to have at least 256 bits (in this case, 39 values) and run them all through a 256 bit hash function (such as SHA256). The output of this will be 256 uniformly distributed bits.