Module: SecureRandom

Defined in:
lib/uuid64.rb

Class Method Summary collapse

Class Method Details

.uuid64Object



3
4
5
# File 'lib/uuid64.rb', line 3

def SecureRandom.uuid64
  [[SecureRandom.uuid.gsub(/-/, '')].pack('H*')].pack('m').gsub(/==/,'')
end