Flowdock
method

generate_secret_with_prng

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Rails::SecretKeyGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

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.