# File lib/nats/nuid.rb, line 57 def randomize_prefix! @prefix = \ SecureRandom.random_bytes(PREFIX_LENGTH).each_byte .reduce('') do |prefix, n| prefix << DIGITS[n % BASE] end end