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

checksum md5 value generated does not match

I am using md5sum on my backend to calculate md5 checksum of files I'm uploading to S3, and I have lambda in node js crypto module to stream the content and calculate md5 with the specified byte range of s3 parameter. However, when I stream the…
Calvin
  • 407
  • 1
  • 5
  • 21
0
votes
1 answer

MATLAB's gfdeconv vs. polynomial binary division

I've read A Painless Guide to CRC Error Detection Algorithms by Ross N. Williams where he uses binary division to get the remainder of the division of the original message 1101011011 and poly 10011. He arrives at a remainder of 1110. I've been…
0
votes
2 answers

CRC-16 Computation in IEEE 802.11b

I would like to understand the CRC compuation in the Header field of IEEE 802.11b PHY. I read in the literature, CRC-16 is used and the 1's compliment of the reminder of the (e SIGNAL, SERVICE, and LENGTH by Generator Polynomial) But I want to…
Kiran
  • 8,034
  • 36
  • 110
  • 176
0
votes
1 answer

Write checksum per folder

I'm trying to write a script that will run through a directory tree and generate a checksum for the contents of each folder and write the checksum to that folder; I've managed to do everything with the following code except write the checksum to the…
Tom
  • 29
  • 1
  • 8
0
votes
1 answer

android generating 7 bit checksum for passing data to a bluetooth module

I'm creating an application to send data to a bluetooth module. I'm having a tough time following the provided documentation. Can anyone help me understand how to create the checksum as mentioned (Byte No. 3) So far, I have been able to make a sum…
Mohsin Falak
  • 429
  • 6
  • 22
0
votes
0 answers

Creating checksums for generated files in maven when executing mvn package

I have a maven project to create a zip file which can be used to upgrade the applications we distribute. When mvn package is executed this will gather required dependencies and bundle with some PowerShell scripts which does the upgrade. I want to…
Pramod
  • 391
  • 5
  • 21
0
votes
1 answer

C# Get the Client Application Checksum from the WCF Service

We are using WCF Services that transfer some data from a Client Application to the Server Application (WCF Service). This last one will apply an algorithm using these data and send back the result to the client. We would like to authenticate the…
Camille
  • 25
  • 1
  • 4
0
votes
1 answer

Oracle 11g: table checksum or hash

I would like do a checksum against different views implementing different approach supposed to produce the same result (assuming each view contains no duplicates and have the exact same columns). Questions What is the easiest way to compute a table…
Hey StackExchange
  • 2,057
  • 3
  • 19
  • 35
0
votes
2 answers

Reverse engineer 8bit checksum from a car

I'm trying to reverse engineer the CAN bus codes generated by the steering wheel of a car. I'm interested in a single message, the one that holds the information about what button of the steering wheel has been pressed. I have done that for many…
Alex
  • 21
  • 5
0
votes
1 answer

React renderToString not have data-react-checksum

// renderToString try { initView = renderToString( {renderRoutes(routes)}
0
votes
0 answers

How to calculate hash for every record being written via gob.Encode

My target is to create something like WAL-log and to ensure that data consistent I use some hashing. I have the following code computing hash for every encoded record: package dumper_test import ( "bufio" "bytes" "encoding/gob" …
Chaak
  • 11
  • 3
0
votes
1 answer

Calculate file hash on remote server accessed via SFTP

I am connecting to a remote host via SFTP to transfer files. Is it possible to determine the hash of a file on the remote host, without downloading it first? If so how?
jim
  • 8,670
  • 15
  • 78
  • 149
0
votes
1 answer

In Python 3, calculate a checksum on binary output from command line executable

I'm using a tool called "exiftool" to extract a binary JPG from a file. I would like to then compute a sha512 sum from that file. What is a good way to do this? My function to extract the binary JPG is as follows: def getVisSig(filename): """…
ensnare
  • 40,069
  • 64
  • 158
  • 224
0
votes
0 answers

How to calculate the CheckSum 8 Xor

I have an example string: var string= ">ACK;ID=1206;#01D4;"; I need to calculate CheckSum 8 Xor so that it returns me 2 digits in hex: answer: 2B Can you help me?
0
votes
3 answers

After having downloaded a big files from HTTP how to check if it's ok?

Are there any way to send an http request to know for example the md5 of a file? I need it because I have a php script that downloads a remote file from http and then writes it locally. I would like to check if it was transfered right. Thanks
anon