You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: insecure_hash_algorithm.rb
    path of file: ./repos/rubocop-github/lib/rubocop/cop/github
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "rubocop"

module RuboCop
  module Cop
    module GitHub
      class InsecureHashAlgorithm < Base
        MSG = "This hash function is not allowed"
        UUID_V3_MSG = "uuid_v3 uses MD5, which is not allowed"
        UUID_V5_MSG = "uuid_v5 uses S
    
        def insecure_algorithm?(val)
          return false if val == :Digest # Don't match "Digest::Digest".
          case alg_name(val)
          when *allowed_hash_functions
            false
          when Symbol
            # can't figure this one out, it's nil or a var or const.
            false
          else
            true
          end