[Cryptography] How programming language design can help us write secure crypto code
dj at deadhat.com
dj at deadhat.com
Mon Nov 2 13:54:33 EST 2015
> It's easy to say that "getting the wrong answer faster" is pointless, but
> in numerical work, you pretty much *always* get "the wrong answer" because
> the "right" answer requires infinite precision. Even as simple an
> equation as 3x=1 has a root that cannot be represented exactly in any
> binary FP system.
>
This is why I'm very partial to python's ability to easily handle
arithmetic over rationals. For the probabilistic sums I do a lot of, that
have asymptotes all over the place, it's nice not to have to look over
your shoulder for FP problems.
More information about the cryptography
mailing list