Example of cryptography random number I read that random numbers are being used in cryptography and security. I think I have idea how to truly generate true random, non-deterministic number. But before continuing further I'd like to ask few basic questions.


What kind of numbers are needed for cryptography/security? Are those integers?
How long should those numbers be? 10 digits, 100 digits?
I read few articles about random numbers, but did I get it right, they are used to create hashes to create stronger encryption?
What kind of numbers are needed for cryptography/security? Are those integers?

Bits. Simply have your TRNG generate random bits. 

As mentioned in the other answer, the only difference between bits/hex/integers/etc is in the formatting and representation. It is almost certainly more appropriate and simpler to generate random bits than it is to rely on some process to generate a random integers in a given range.

How long should those numbers be? 10 digits, 100 digits?

256 bits is sufficient for any one user. You can take a 256-bits of uniformly random information and use it to generate an arbitrary amount of uniformly random information (for practical purposes) using a CSPRNG.

I read few articles about random numbers, but did I get it right, they are used to create hashes to create stronger encryption?


Random numbers are not required to create hashes


Typical hash functions are deterministic algorithms
Random numbers may be used as part of an input to a hash function, depending on context

Hashing is not related to encryption


The two are sometimes used in conjunction, but encryption is not (typically) built from hash functions

"stronger encryption" 


Random numbers are required to securely use a cipher (e.g. for keys, IVs)
But the algorithms themselves such as AES and ChaCha are nigh unbreakable and so cannot be "stronger"