original_string: final static public function get_secret_key() {
          global $CFG;
  
          if (!isset($CFG->reposecretkey)) {
              set_config('reposecretkey', time() . random_string(32));
          }
          return $CFG->reposecretkey;
      }
code: final static public function get_secret_key() {
          global $CFG;
  
          if (!isset($CFG->reposecretkey)) {
              set_config('reposecretkey', time() . random_string(32));
          }
          return $CFG->reposecretkey;
      }
code_tokens: final static public function get_secret_key ( ) { global $ CFG ; if ( ! isset ( $ CFG -> reposecretkey ) ) { set_config ( 'reposecretkey' , time ( ) . random_string ( 32 ) ) ; } return $ CFG -> reposecretkey ; }
docstring: Generate a secret key to be used for passing sensitive information around.
  
  @return string repository secret key.
docstring_tokens: Generate a secret key to be used for passing sensitive information around .