In 2007, RG32 was the best cryptographic primitive to use for Deadwood's random number generator. But things started changing in 2008.
http://samiam.org/blog/old-20081217-rg32.htmlBy 2010, as I pointed out yesterday, my praise for Keccak became less guarded:
If I were to use one of the SHA-3 submissions for Deadwood’s PRNG, I would use Keccak. Like Skein, it can output a stream of infinite length from any input of any length. Unlike Skein, it is more 32-bit compatible; not only is there a 32-bit “reduced word length” variant officially blessed by the algorithm’s creators, but also 64-bit Keccak more easily scales down to 32-bits than Skein, since the only operations done are permutes, rotates, and exclusive ORs.Now that Keccak has won and is now SHA-3, it's time to seriously consider upgrading. The main advantage of Keccak over RG32 is that, now that it is the new hashing standard, cryptographic researchers will concentrate on finding weaknesses in it. In addition, it is more flexible in a lot of ways than RG32--it is possible, for example, to simply increase the rounds (or, likewise, increase its "capacity") should any weakness be found in it.
In addition to the time needed to implement SHA-3 as Deadwood's random number generator, another factor is an ascetic one: Right now, Deadwood's Windows binary is 65,024 bytes in size. I want to keep it under 65,536 bytes in size for as long as I can. Since Keccak is somewhat more complicated than RG32, changing the cryptographic primitive will probably finally make Deadwood over 65,536 bytes in size once and for all.
Like making sure Deadwood works in IPv6, this is a low-priority "wish list" feature, but one I hope to have time to eventually implement.
Overall Romney 3.72% Tie 0.27% Obama 96.01% Obama gets OH Romney 1.11% Tie 0.13% Obama 98.76% Romney gets OH Romney 14.28% Tie 0.86% Obama 84.86% Obama gets FL Romney 0.05% Tie 0.00% Obama 99.94% Romney gets FL Romney 6.67% Tie 0.49% Obama 92.84% Obama gets VA Romney 1.42% Tie 0.24% Obama 98.35% Romney gets VA Romney 8.21% Tie 0.34% Obama 91.45% Romney gets FL and VA Romney 14.75% Tie 0.62% Obama 84.63% Obama gets FL and/or VA Romney 1.18% Tie 0.19% Obama 98.63% Obama EVs 240-249 0.2% 250-259 0.9% 260-269 2.9% 270-279 7.6% 280-289 13.6% 290-299 19.8% 300-309 16.9% 310-319 15.8% 320-329 11.0% 330-339 8.4% 340-349 2.7% 350-359 0.1%
If anyone knows of an attack against RG32 better than 2 ^ 352, please email me.
In order to reduce spam, comments for this entry are now closed