Flowdock
method

base64

Importance_1
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::SecureRandom
base64(n=nil) public

SecureRandom.base64 generates a random base64 string.

The argument n specifies the length of the random length. The length of the result string is about 4/3 of n.

If n is not specified, 16 is assumed. It may be larger in future.

If secure random number generator is not available, NotImplementedError is raised.

Show source
Register or log in to add new notes.