method

generate_secret_with_win32_api

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_win32_api()
public

Generate a random secret key by using the Win32 API. Raises LoadError if the current platform cannot make use of the Win32 API. Raises SystemCallError if some other error occured.