Flowdock
method

random_bytes

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

Generates a 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.