subject

Implement a pseudorandom random number (bit) generator (PRNG). A good random bit generator is supposed to generate bits independently, i. e., the probability of bit 0 (p0) is the same as the probability of bit 1 (p1), where
p0 = p1 = 0.5 and p0 + p1 = 1.
However, one student (Alice) implemented it in a bad way, i. e., p0 6= p1. For example, p0 = 0.3
and p1 = 0.7, or p0 = 0.2 and p1 = 0.8. Of course, the actual probabilities and her implementation
details are unknown to you. You job is to use Alice’s defective generator to produce an unbiased
random bit string without using additional cryptographic tools.
First, clearly explain your step-by-step algorithms (or pseudocode). Second, provide a formal proof
of correctness.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
Is it ok to use a does red wine clean the inside of a computer true or false
Answers: 2
question
Computers and Technology, 21.06.2019 22:50
Before you enter an intersection on a green light make sure
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
Implement a pseudorandom random number (bit) generator (PRNG). A good random bit generator is supp...
Questions
question
English, 20.02.2022 19:50
question
Mathematics, 20.02.2022 19:50
question
English, 20.02.2022 19:50
question
English, 20.02.2022 20:00
question
Mathematics, 20.02.2022 20:00
Questions on the website: 13722363