Flowdock
method

generate_secret_with_secure_random

Importance_1
v2.0.0 - Show latest stable - 0 notes - Class: Rails::SecretKeyGenerator
generate_secret_with_secure_random() public

Generate a random secret key with Ruby 1.9's SecureRandom module. Raises LoadError if the current Ruby version does not support SecureRandom.

Show source
Register or log in to add new notes.