Skip to content

Instantly share code, notes, and snippets.

@chhanganivarun
Last active January 31, 2020 22:27
Show Gist options
  • Save chhanganivarun/be136b5907863694dba7b865f3e196a1 to your computer and use it in GitHub Desktop.
Save chhanganivarun/be136b5907863694dba7b865f3e196a1 to your computer and use it in GitHub Desktop.

If $p-1$ can be written as $(p-1) = s2^r$ where $s$ is odd, then the $(r+1)$th LSB of x ( the discrete log) is a hardcore predicate for the discrete log problem. Using this fact, design a pseudorandom generator.

Overall Proof: if DLP $\lt_p$ DLP-(r+1)LSB, then DLP-(r+1)th LSB is as computationally hard as DLP. Since DLP itself is one way function, DLP(r+1)th LSB must be a hardcore predicate of DLP.

Consider the following algorithm to find x satisfying $g^x = y$, given access to the $(r+1)^th$ bit:

Algorithm $$ y_0 \to y asdf asd

$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment