Random vs. Cryptographically random are typically separate
Random vs. Cryptographically random are typically separate
Posted Sep 20, 2015 5:29 UTC (Sun) by njs (subscriber, #40338)In reply to: Random vs. Cryptographically random are typically separate by anselm
Parent article: Python and crypto-strength random numbers by default
Obviously you and I know that computer "random numbers" are this weird thing that are almost-like-random but with extremely subtle failures that only matter in certain obscure but high-stakes contexts... but it's not really newbie programmers' fault that they don't automatically know this. (Sure, there's a warning in the docs, but if you don't know to look for it...)
Posted Sep 23, 2015 1:35 UTC (Wed)
by dvdeug (guest, #10998)
[Link] (1 responses)
* E.g. exists a, b, i, j such that (a > 0.0) && (b + a == b) or (i > 0) && (j > 0) && (i + j < 0).
Posted Sep 23, 2015 15:26 UTC (Wed)
by apoelstra (subscriber, #75205)
[Link]
CSPRNGs are also deterministic. Determinism is not what burns cryptographically-inexperienced programmers.
Random vs. Cryptographically random are typically separate
Random vs. Cryptographically random are typically separate