#434: MacRuby should use arc4random() rather than random()
---------------------------+------------------------------------------------
Reporter: j...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: security crypto
---------------------------+------------------------------------------------
Recent discussion in #433 pointed out a flaw in using rand(), leading to
the more pertinent observation that anything wanting genuinely
cryptographic randomness should use arc4random(). See man page for
arc4random() for instructions on how to use it as a drop-in replacement
for random() / srandom().
--
Ticket URL: <http://www.macruby.org/trac/ticket/434>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel