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, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
You know the right answer?
Implement a pseudorandom random number (bit) generator (PRNG). A good random bit generator is supp...
Questions