def sha1
      return unless decidim_user_group_id.nil?

      title = translated_attribute(initiative.title)
      description = translated_attribute(initiative.description)

      Digest::SHA1.hexdigest "#{authorization_unique_id}#{title}#{description}"
    end
def sha1
      return unless decidim_user_group_id.nil?

      title = translated_attribute(initiative.title)
      description = translated_attribute(initiative.description)

      Digest::SHA1.hexdigest "#{authorization_unique_id}#{title}#{description}"
    end
PUBLIC

 Generates a hashed representation of the initiative support.