Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8626409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:01:38+00:00 2026-06-12T08:01:38+00:00

I have an application that converts specific excel files to XML and transmit it

  • 0

I have an application that converts specific excel files to XML and transmit it to another application. One of the requirement in the transmission is to have a unique-number tag (REFNUM) in the XML. The reason for this is to avoid multiple transmissions of the same file.

My intuitive approach for this is to create a digital signature of the file (MD5/SHA) and embed the signature in the REFNUM tag (after converting the hex to decimal).

Problem is that sometimes a user can simply make a minor change such as resizing one of the column and that creates a completely different signature. So from systen point of view this is a new file that has never been transmitted.

Question: how can I avoid it or maybe digital signature is not the right solution? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:01:39+00:00Added an answer on June 12, 2026 at 8:01 am

    Don’t use a cryptographic hash / digital signature for this. They’re designed so that a single bit change anywhere in the file will generate a completely different hash/signature. Other options would be a simple serial counter, incremented for each “significant” change (but how to determine that is unclear), or maybe a timestamp (maybe combined with additional info about the author or system), or something along the lines of a UUID, or maybe even just a random number (choose a large enough range that your chance of collisions is sufficiently low, though).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small data conversion application that converts xml into a json then
I have a maven project that converts text files of a specific format to
I have a C# application that uses XML digital signatures to sign license files.
I am writing an application that converts an ajax xml response into html using
I have a Swing application that I would like to convert from spaghetti to
I have an application in C# that I'm trying to convert to java. The
I have application that makes different queries with different results so the caching in
I have application that is connecting to the DB and if I enter incorrect
I have application that is up more than 3 days. I can see in
I have application that brings response via Ajax and creates 5-20 new jQuery click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.