Questions tagged [trng]
17 questions
5
votes
6 answers
True Random Number Generator using atmospheric noise
I have to build an One Time Pad system and for that, I have to build my own TRNG. I want to know how to make record atmospheric noise and use that to generate random numbers. I've tried so far to record a .wav file and read it in Java, but the…

joanna
- 743
- 3
- 13
- 27
3
votes
1 answer
Getting true random numbers from secure enclave in iPhone?
Is it possible to get true random numbers from the secure enclave in the iPhone? I read the secure enclave includes a TRNG. I'm not sure if it's possible to use this to get random numbers or if it's for internal use of the secure enclave only. Any…

irrbloss
- 207
- 2
- 9
2
votes
0 answers
Dieharder dab_monobit2 test fails - all other tests pass - TRNG
I am currently testing some RNG numbers from a TRNG using the dieharder test suite. I got around 380MB binary test data from the TRNG and all tests pass except one test - the dab_monobit2 test (test 209) and I just don't know why.
As far as I…

nablahero
- 143
- 1
- 13
2
votes
0 answers
Is LavaRand a TRNG or a CSRNG? And SecureRandom?
I found on Wikipedia this definition:
Lavarand was a hardware random number generator designed by Silicon Graphics that worked by taking pictures of the patterns made by the floating material in lava lamps, extracting random data from the pictures,…

Riccardo Leschiutta
- 457
- 4
- 8
1
vote
1 answer
Random generation with TRNG
For the following code which generates random numbers for Monte Carlo simulation, I need to receive the exact sum for each run, but this will not happen, although I have fixed the seed. I would appreciate it if anyone could point out the problem…

MA19
- 510
- 3
- 15
1
vote
1 answer
TRNG Perl script query
I think that I seem to have successfully created and tested a very simple script which when run on a Windows VPS, serves as a building block for a True Random Number Generator. I am therefore wondering to myself, if it is this easy then what is the…

user3238737
- 11
- 1
1
vote
1 answer
True random number generator (TRNG), Haskell and an empirical / formal method
I want to produce verifications to a true random number generator (TRNG) numbers generated by specific hardware, but I'm not used to this.
Firstly, I want to test the consistency of the True Random Number Generator (TRNG) via empiric methods (AKA, I…

mekoda
- 313
- 2
- 13
0
votes
1 answer
How to create true random number generator using atmosphere noise(recorded mp3, wave etc) on python?
I need to convert audio atmosphere file to bit to use it as a secret keys in stream cipher cryptography.
I don't know the logic of converting audio file to bits.

Rizwan Akram
- 1
- 1
0
votes
0 answers
Yocto - using TPM as TRNG
I want to use my TPM as hardware random generator. I am building a system using Yocto for the AM6642-SK platform from Texas Instruments. meta-ti by default uses something called OPTEE to generate random numbers. I would like to give up this…

grandzello
- 43
- 4
0
votes
2 answers
Should I only be using one or multiple instances of python's secrets.SystemRandom() class?
I am trying to generate random numbers securely and I found the secrets module, apparently the only way to generate random numbers is to have an instance of the secrets.SystemRandom class, but now I am confused, should I be using one or multiple…

Ari157
- 95
- 4
- 16
0
votes
0 answers
How to get the processor temperature in Python?
I'm working on a TRNG written in Python, which currently uses ram data, disk usage, processor usage, virtual memory usage, battery voltage, as seed, I'm using the psutil module:
entropy_values : dict = {
"battery":…

Pierre de Fermat
- 41
- 1
- 1
- 6
0
votes
1 answer
How to generate probability 3D plot in matlab
I have already build my true random number generator and I want to visualised the results. I am testing a lot of generators, each of then will generate a txt.file. It is like
543
35
68
3
...
in the txt files. I want to draw a 3D plot in matlab. It…

anor
- 21
- 3
0
votes
1 answer
how to create a xored ring oscillator using VHDL
I want to create xored oscillators using multiple inverters. The number of oscillator and inverter should be defined in generic. I have finished 1 oscillator but I don't know how to generate the same oscillator multiple times and let them…

anor
- 21
- 3
0
votes
0 answers
Is Jericho Comms TRNG reliable?
I'm looking for a method to generate true random bits/numbers on smartphones.
Create a custom TRNG seems to be tricky and a lot of people suggest to trust in already existing ones, widely tested and approved.
But I've found Jericho Comms, that uses…

Riccardo Leschiutta
- 457
- 4
- 8
-1
votes
2 answers
Can machine learning models be used to predict TRNG output?
As far as I know, in order to train a machine learning (ML) model, both inputs and outputs of a train set should be known. Then, given a new input, the ML model tries to predict the output.
With TRNGs, only the output is known (there is no input).…

Shannon
- 985
- 3
- 11
- 25