# File lib/backports/random/bits_and_bytes.rb, line 39 def state_as_bignum b = 0 @state.each_with_index do |val, i| b |= val << (32 * i) end b end