method

generate_secret_with_openssl

rails latest stable - 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_openssl()
public

Generate a random secret key with OpenSSL. If OpenSSL is not already loaded, then this method will attempt to load it. LoadError will be raised if that fails.