Use a per-thread SecureRandom and move #hex into native.
Merge branch 'securerandom' into jruby-1_7