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

Laravel PayTM checksum generation in controller

i am developing a multi shop Laravel application, where user can choose products from the various shops listed with application, user can select product from single store at a time, i want to configure PayTM payment gateway for every shops listed…
0
votes
0 answers

Does any body know what is the meaning of SHA-256 check sums in downloading android studio?

If you go for installing android studo you can see some check sums. Does any body know what is the meaning of SHA-256 check sums and how it is working? Ho can see it here.
Mahdi
  • 6,139
  • 9
  • 57
  • 109
0
votes
1 answer

Generate crc16 lookup table from existing crc function

I'm working in a project where there is this function that computes a CRC16 checksum. uint16_t x_crc(uint16_t CrcVal, uint8_t DataIn) { CrcVal = (unsigned char) (CrcVal >> 8) | (CrcVal << 8); CrcVal ^= DataIn; CrcVal ^= (unsigned char)…
xgon
  • 175
  • 1
  • 3
  • 11
0
votes
1 answer

Finding the Checksum Algorithm in this Serial Communication

Got a brainteaser for you! :) I am working on trying to figuring out this serial communication between a microcontroller and a PC for several months and cannot seem to do it. 9600,N81 and I get no frame errors with my capture tool. Hopefully…
Eddiie
  • 15
  • 3
0
votes
1 answer

How to get deterministic value from Channels.object.all()?

On my Django backend I'm sending list of available TV channels. They are rarely changed so I'm creating another url that hashes all /Channels.object.all()/ channels' data to hash/checksum value so that client side just compares checksum/hash value…
user9066046
  • 87
  • 1
  • 10
0
votes
0 answers

How to calculate 16 bit checksum value using javascript big endian format

i want to calculate the 16 bit checksum value in big endian format for bluetooth data transmission. i have passed the data to send is 123456 as per documentation. and got the checksum 100219 but in the documentation the checksum value is 0219. how…
coder
  • 21
  • 1
  • 2
0
votes
1 answer

Why python unable to take care of pipe with tee utility?

I want to run the following command from a python code in a remote machine: /bin/cat < abc.txt | tee >(echo $(md5sum) > /tmp/abc.md5sum) | some-other-command. I have to use Cumin to send this command to remote machines. My code is given below: from…
Finderr
  • 15
  • 7
0
votes
3 answers

Compare two big strings without storing them in database

I want to detect whether a user has modified some data from it's previous value. This data is stored in multiple fields across different database tables. Let us say that the data on 1st run was: 'Roger Federer', 'Ferrari', 'Keyboard', 'Romeo' and…
0
votes
0 answers

Paytm Payment Gateway invalid Checksum 5028 asp.net api

I am trying to integrate the Paytm Payment Gateway using API. I've added .net 4.5 paytm.dll from their git project into my asp.net API project targeting .net framework 4.7 with this I've created checkup using below code: String merchantKey =…
harsh92
  • 23
  • 7
0
votes
1 answer

Does RabbitMQ check message integrity when delivered on consumer side?

I'm new to RabbitMQ, just went over the documentation but didn't find any mechanism on checking message integrity. Message consumption acknowledgment only checks delivered or not but what if the message payload is contaminated. Or is it supported by…
lwlwlw
  • 1
0
votes
0 answers

Ensure Flyway SQL migrations are not modified once stored in git, any advice?

Our team uses Flyway SQL migrations in our current project, storing all the codebase in Git. To code, each member uses either Eclipse or Intelij Idea, someone uses Linux while others Windows. It happened several times that the SQL migration file has…
danidemi
  • 4,404
  • 4
  • 34
  • 40
0
votes
2 answers

Implement CRC8 checksum with JS

Already tried CRC8 but I wasn't able to get the correct checksum. Does anyone have an idea of how this checksum could be generated using JS ?
bdo334
  • 380
  • 2
  • 9
  • 20
0
votes
0 answers

How do I verify that the correct file was downloaded in C#?

How do I make sure that the downloaded file myfileLocal.wav matches myfileInServer.wav? using System.Net; WebClient webClient = new WebClient(); webClient.DownloadFile("http://example.net/myfileInServer.wav", @"c:\myfileLocal.wav"); Would it be a…
lakersfan
  • 71
  • 5
0
votes
1 answer

Checking a ITF or Code 128 bar code integrity in a final string

There is a software that is able either to receive bar codes scanned by bar code scanner app or enter them manually. With EAN everything is pretty clear: it contains a checking digit and using a special algorithm I can check code integrity when code…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

Calculating the Checksum in the receiver

I'm reading the book Data Communications and Networking 4th Edition Behrouz-Forouzan. I have a question in an exercise that asked me the following: The receiver of a message uses the checksum technique (Checksum) for 8-bit characters and get the…
franvergara66
  • 10,524
  • 20
  • 59
  • 101