Skip to content

Instantly share code, notes, and snippets.

@yllan
Created April 15, 2012 04:32
Show Gist options
  • Select an option

  • Save yllan/2390040 to your computer and use it in GitHub Desktop.

Select an option

Save yllan/2390040 to your computer and use it in GitHub Desktop.
val h_over_g_to_x1 = (1 to B).par.map(x1 => (h * g_inverse.modPow(x1, p)).mod(p) -> x1.toLong).toMap.seq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment