module RandomBytes

Public Instance Methods

buf(size) click to toggle source
# File lib/random_bytes.rb, line 18
def buf(size)
  buf = zeros(size)
  randombytes_buf(buf, size)
  buf
end