Flowdock
method

generate_secret_with_prng

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

Generate a random secret key with Ruby’s pseudo random number generator, as well as some environment information.

This is the least cryptographically secure way to generate a secret key, and should be avoided whenever possible.

Show source
Register or log in to add new notes.