Questions tagged [checksum]

A checksum or hash sum is a fixed-size datum computed from an arbitrary block of digital data for the purpose of detecting accidental errors that may have been introduced during its transmission or storage. The integrity of the data can be checked at any later time by recomputing the checksum and comparing it with the stored one.

A checksum or hash sum is a fixed-size datum computed from an arbitrary block of digital data for the purpose of detecting accidental errors that may have been introduced during its transmission or storage.

The integrity of the data can be checked at any later time by recomputing the checksum and comparing it with the stored one. This process doesn't guarentee the data hasn't been corrupted, but is a good indication.

1882 questions
0
votes
0 answers

Getting the most valuable path

our table one of the best paths Giving the above matrix, what is in your opinion the best way to get the most valuable path and print it, but the movement that someone can do is down and right. What i thought is that someone can check the right and…
Jason147
  • 9
  • 2
0
votes
0 answers

When is #pragma checksum used?

All I know about #pragma checksum is this: The compiler uses a checksum for a file and inserts it in a .pdb file, so the debugger can compare the file it is debugging to the source file. With #pragma checksum we can define a customized checksum…
Minimus Heximus
  • 2,683
  • 3
  • 25
  • 50
0
votes
3 answers

Detect changed files in a directory (java 8) from digest or checksum

I'm looking for a simple way to detect if files have changed in a directory between reboots to avoid unnecessary synchronization. What would be the simplest way to do this in java 8 libraries? Should I XOR the md5 digest of each file or XOR the…
simgineer
  • 1,754
  • 2
  • 22
  • 49
0
votes
2 answers

How calculate checksum in hdlc frame

I try to find how calculate checksum form hdlc frame. I try with example: 7E A0 0A 00 02 00 23 21 93 [18 71] - checksum 7E I tried this calculator: https://www.scadacore.com/tools/programming-calculators/online-checksum-calculator/ I put there this…
0
votes
2 answers

How do I remotely get a checksum for a file on a Windows machine?

I'm trying to check, using an automated discovery tool, when JAR files in remote J2EE application servers have changed content. Currently, the system downloads the whole JAR using WMI to checksum it locally, which is slow for large JARs. For UNIXy…
Will Harris
  • 21,597
  • 12
  • 64
  • 64
0
votes
1 answer

How to find checksum of a list of files and print them together

I have a list of filenames and I wish to find the checksum of the each file and store in a list displaying [filename,checksum]. New to programming so I tried creating a for loop taking the files from directory. I then used hashlib.md5 to open file…
B2A3R9C9A
  • 29
  • 6
0
votes
1 answer

Problem Deploying to Artifactory with Checksum (C#)

Okay, Well, I'm trying to figure out how to do this. I've ready the API and and yet this never works. using (HttpClient client = new HttpClient()) { if (!path.EndsWith("/")) path = $"{path}/"; string url = config.CreateRequest(client, null,…
JaedenRuiner
  • 329
  • 4
  • 18
0
votes
1 answer

Checksum on FTP file using Java

I'm have created a java app which transfers files from FTP location to HDFS. This is done using copying the file first to temp folder in the edge node then move it to HDFS (cloudera cluster). Currently I'm doing byte check on the file - I'm…
0
votes
2 answers

Is a checksum a good way of determining if a file/string of text is the same from machine to machine?

I have heard, but I now cannot find evidence that a checksum can vary from machine to machine where the file is the same. Is that true? We are considering relying on a checksum in our application that will be calculated on many different machines,…
CLJ
  • 1,907
  • 5
  • 22
  • 36
0
votes
1 answer

read checksum from artifactory given the artifact url

I want to read checksum from artifactory given the artifactory url and append it to an attribute. I tried to look for examples but people are hardcoding the checksum value like below. If I hardcode the value, I will have to update it when I have…
shri Bin
  • 73
  • 1
  • 7
0
votes
0 answers

Calculated checksums are different for identical byte array content

With the same byte array, the result of performing a checksum using .NET Core 3.0's SHA512Managed class is different than the result of using the built-in shasum app in MacOS. I've triple-checked the byte array is unmodified/identical by iterating…
David Montgomery
  • 1,618
  • 15
  • 28
0
votes
1 answer

C++ Boost hash computation without collision

I am using Boost:crc32 for computing checksum but collision is occurring. Could anyone please suggest alternate algorithm in Boost that would give unique checksum for a string
Karthik K M
  • 619
  • 2
  • 9
  • 24
0
votes
1 answer

How can you calculate a checksum from hex values stored in a QByteArray

I feel this is a stupid question but i cant get this to work so please bear with me. I want to calculate a simple checksum to check if the data i received over serial and stored in a QByteArray is not corrupt(or is correct). the packet format of the…
Koos
  • 91
  • 9
0
votes
2 answers

Leveinshtein and hash - finding one hash algorithm that results in correlation (closer distance)

I am looking for a hash-kind algorithm that does not provide any security but rather a fixed and distinct pattern for a string, in such a way that a near similar string can be correlated using Leveinshtein distance calculation or any distance…
c1377554
  • 173
  • 1
  • 10
0
votes
1 answer

How to make use of file hash or its use it downloading a file to a server Using Node JS

I have a feature on my program where in it downloads thousands of files to the server using using the url. Now i was told to hash the file before downloading it . Is that for Integrity check ? Is checksum a good solution ?, And also can anyone tell…
user11327631