Flowdock
method

random_bytes

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: Random
random_bytes(p1) public

Generates string with length number of cryptographically strong pseudo-random bytes.

Example:

  OpenSSL::Random.random_bytes(12)
  => "..."
Show source
Register or log in to add new notes.