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
1 answer

Where does the Splunk Deployment Server store its own checksum data?

This is a great mystery to me. A Splunk Deployment Server tracks the changes it makes to the Deployment Client by comparing checksums. You can see in splunkd.log on the client side: Checksum mismatch 0 <> 12612942278184057003 for app=myapp If there…
0
votes
1 answer

Unable to create checkSum value using SHA-256

As per my requirement I want to create checksum value using SHA-256, from InputStream, As below: private InputStream createZipInput(List aList, byte[] manifestData) { final int bufferSize = 2048; byte buffer[] = new…
Babu
  • 440
  • 5
  • 23
0
votes
1 answer

Should all implementations of SHA512 give the same Hash?

I am working on writing a SHA512 function. When i check the file I am encrypting on different sources, a Linux SHA512SUM tool, a couple websites, and run it through the old source code i have for SHA512, they all give different hash values. My…
Matt
  • 641
  • 1
  • 7
  • 10
0
votes
1 answer

how to compare data between 2 databases

i have a table in my database that is updated from a table in another database. I want to compare the data in 2 tables and if some data don't exist in my database then istranferred column in source database convert to zero. how can I do that using…
0
votes
2 answers

Bazel test returns checksum mismatch error for private GitHub repos

I am trying to run some tests present on a GitHub repo. The repo depends on some other private repo available on my company's GitHub. They haven't really provided me with a Readme to run the tests, but I have a Makefile in the project that I am…
scottstots
  • 155
  • 2
  • 17
0
votes
1 answer

Add a checksum file to my macOS notarised app bundle

I would like to detect whether my macOS app executable file has been altered by someone. I wouldn't rely on the Codesign because, as I have seen on the web, many apps have been cracked, even if notarised by Apple. I know this will not guarantee the…
Leonardo
  • 751
  • 8
  • 15
0
votes
3 answers

How to verify integrity of files using digest in python (SHA256SUMS)

I have a set of files and a SHA256SUMS digest file that contains a sha256() hash for each of the files. What's the best way to verify the integrity of my files with python? For example, here's how I would download the Debian 10 net installer…
Michael Altfield
  • 2,083
  • 23
  • 39
0
votes
0 answers

Can anyone identify and reproduce what seems like a checksum?

I have an IoT device, which communicates with a cloud server via UDP. The device receives a command to turn on/off every couple of seconds based on a cloud schedule. I believe the chip inside the device is similar to an arduino pro mini. It has an…
0
votes
1 answer

How checksum works in Paytm Gateway

I am new to this payment gateway and was trying to implement Paytm Gateway. What I have understood about checksum is that it is used to find out if the request is tempered or not and to implement it, we are creating the checksum before sending the…
arunoday singh
  • 222
  • 2
  • 13
0
votes
1 answer

Preserving file checksum after extract from zip in java

This is what I'm trying to accomplish: 1) Calculate the checksum of all files to be added to a zip file. Currently using apache commons io follows: final Checksum oChecksum = new Adler32(); ... //for every file iFile in folder long lSum =…
Dan
  • 1,763
  • 4
  • 26
  • 40
0
votes
1 answer

CRC Combine Unknown CRC

Another zlib CRC Combine related question :P I want to be able to combine CRC(X) + CRC(Y) = CRC(Z), problem is that I don't know what CRC(Y) is supposed to be. Is there somehow that I can say use CRC(X) and CRC(Z) to get what CRC(Y) is supposed to…
VenoMpie
  • 45
  • 6
0
votes
0 answers

Backup restore and apply liquibase changes

We have a project where the database support is given for Sql Server and Oracle and to control the version on the database side we are using liquibase. Sometimes we need to bring a backup of the customer's database to our own infrastructure to…
Felipe Oriani
  • 37,948
  • 19
  • 131
  • 194
0
votes
0 answers

something's wrong with my algorithm that I can't figure out in a while loop in C. Solving a problem in cs50 credit: Luhn's algorithm

Update: I already figured out what's wrong, it's the function of adding the digits together. Some also pointed out how some parts of this code is unnecessary so I deleted it and it definitely helped! I was able to point out the problem more easily.…
chris10
  • 33
  • 6
0
votes
1 answer

How to add parity bits for a checksum when dealing with strings

So I have this Checksum function shown below that I need to implement in some code I am working on. I am still at a novice level with a lot of this stuff and was hoping someone could enlighten me on how to work with it. I am in a situation where I…
Steel1012
  • 1
  • 2
0
votes
1 answer

Broken CRC32 Combine

I have a problem with a certain CRC method when trying to combine CRC's. I have been using the combine CRC method and even adapted it a while ago to work with CRC16, etc. and I (hope?) understand how the filling of 0's work according to the answer…
VenoMpie
  • 45
  • 6