Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by mitchellberry on Wednesday March 28, 2018 @08:01AM
(#16697016)
XOR it with /dev/urandom, the result will be as strong as the best source of entropy.
[ Parent
| on HN ]
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by adrianN on Wednesday March 28, 2018 @08:15AM
(#16697077)
I don't think this is true without some assumptions. The two bitstreams could cancel out if cleverly chosen.
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by simias on Wednesday March 28, 2018 @08:20AM
(#16697111)
That would mean that the attacker can already predict /dev/urandom, rendering it effectively useless. So the parent is right, "the result will be as strong as the best source of entropy", if both sources are bad then the result will be as well.
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by jonathanstrange on Wednesday March 28, 2018 @08:52AM
(#16697283)
It is true under the assumption that the two sources are independent of each other. If one of the sources is entirely known or predictable, this will not affect the entropy of the other source.
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by Tomte on Wednesday March 28, 2018 @08:19AM
(#16697104)
If you know "the other" bitstream, sure. The only sensible premise is that you don't.
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by dTal on Wednesday March 28, 2018 @08:51AM
(#16697280)
If both bitstreams are cleverly chosen, then neither is a source of entropy.
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by mseebach on Wednesday March 28, 2018 @08:26AM
(#16697142)
But isn't the point of a hardware entropy source that you don't quite trust /dev/urandom?
Re:RTL-entropy: Uses RTL-SDR to turn a DVB-T dongle into an ...
by tednoob on Wednesday March 28, 2018 @08:55AM
(#16697298)
You have two adversaries. Adversary A have control over your hardware source, and adversary B have control over /dev/urandom. If you XOR them A and B must cooperate to compromise your random generator. You can combine as many sources of randomness as you want, and each increase the difficulty for an adversary to defeat your generator.