24.11.2016 Views

Not So Random

Not%20So%20Random%20-%20Exploiting%20Unsafe%20Random%20Number%20Generator%20Use

Not%20So%20Random%20-%20Exploiting%20Unsafe%20Random%20Number%20Generator%20Use

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System.<strong>Random</strong>() Untwister Patch<br />

int64_t DotNetSystem<strong>Random</strong>::getMinSeed()<br />

{<br />

// System.<strong>Random</strong>() is seeded with an int; signed integer<br />

return 0;<br />

}<br />

int64_t DotNetSystem<strong>Random</strong>::getMaxSeed()<br />

{<br />

// System.<strong>Random</strong>() is seeded with an int; signed integer<br />

return INT_MAX;<br />

}<br />

<strong>Not</strong> <strong>So</strong> <strong>Random</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!