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

Are there any known MD5 collisions for two plain-text ascii strings (not binary data)

There's many MD5 collision examples out there on the web, but as far as I can find, they all involve binary data inputs. Are there any two known plain-text ASCII strings that give the same MD5 hash? Basically I'm building a de-duplication system…
LaVache
  • 2,372
  • 3
  • 24
  • 38
0
votes
0 answers

How to compare two folder by using CRC32 in Visual C++?

I create Win32 app. Starting the program it will reload some data from specific folder. But I don't want to reload if the folder hasn't any change. So I need to keep checksum of the folder for using compare between two folders (current and previous…
Fame th
  • 1,018
  • 3
  • 17
  • 37
0
votes
1 answer

Python two complement checksum

I am working in script in which I need to calculate the two's complement of certain hex value. I took this function from stackoverflow: def checksum_calc(s): sum = 0 for c in s: sum += ord(c) sum = -(sum % 256) return '%2X'…
Axel
  • 61
  • 1
  • 3
0
votes
1 answer

How can we progrmatically find if a java class has been modified?

Other than reflection, Is there a way by which we can identify if java class has been modified (fields). We have thousands of classes within our application .We have a requirement that we need to have some tests in place which can detect if java…
M. Shashanka
  • 39
  • 1
  • 8
0
votes
1 answer

How to convert ASCII symbol such as STX to a BitArray using C#?

I'm new to C#. In a project, I'm dealing with serial communication where I'm trying to send/receive a checksum for verifying data transfer integrity. The device I'm sending messages to accepts ascii symbols and characters, for instance an example…
user2188329
  • 93
  • 1
  • 9
0
votes
2 answers

Checksum wrong output?

In Microsoft SQL Server 14 print checksum('-test-') print checksum('-t-e-s-t-') returns the same output: -1854252673 -1854252673 What is wrong?
0
votes
1 answer

The difference of location of Checksum and CRC. WHY?

I have a question while studying CRC and checksum. CRC is located at tail, but checksum is located at header. I thought because of complication of CRC and checksum. CRC is more complicate, so it locates header, but checksum is less complicate, so it…
Great
  • 13
  • 1
  • 5
0
votes
1 answer

Adler32 generated checksum doesnt match the .txt files checksum

im tasked with written two java programs. One program creates a file called 'userinput.txt', then writes everything the user inputs into the file. Once done a new file is created called 'Checksum.txt' and this file will write down the checksum for…
Huseyin Yesiler
  • 85
  • 1
  • 2
  • 11
0
votes
2 answers

Calculate the checksum using xor in python 3

So, i am collecting some codes from a ip device, and i am struggling to calc it's checksum. For example, this is the package that I collected using a simple socket in python: b'\x07\x94ES(\xff\xceY:' Converting it to a more human readable using…
IamRichter
  • 15
  • 9
0
votes
0 answers

MobileFirst Direct Update is not working for a specific version

We have just created a new version in MF which is 2.1.0. We generated a .apk and .ipa with the same version and the checksums match with the server. Before we upload to 2.1.0 which is production we test by creating two other versions (1.2.1 &…
Victor York
  • 1,621
  • 4
  • 20
  • 55
0
votes
0 answers

Chocolatey Package Opens Installer

When I created this Chocolatey package for Qt 5.12.1, everything seemed to work fine, except when I did choco install qt, it opened the Qt installer that I have embedded into the tools folder. Here is the…
DeZLearnsPCs
  • 81
  • 2
  • 9
0
votes
1 answer

OpenWebStart Application Login with Kerberos - Checksum failed

I try to run OpenWebStart application which displays Login-Dialog und does Login on Kerberos. I get "Checksum failed" Exception (see below). I'm running KDC in VM (Centos7) and in Kerberos Log I see that TGT was successfuly…
dkalna
  • 55
  • 3
0
votes
0 answers

TCP manual checksum calculation in C++

I'm using pcap to capture packets and now want to calculate IP checksum manually. struct sniff_ip { u_char ip_vhl; /* version << 4 | header length >> 2 */ u_char ip_tos; /* type of service */ u_short…
katoge
  • 33
  • 4
0
votes
1 answer

Checksum MD5 to generate row number in postgresql

I am trying to execute the below query which was found in my error report. Error report is generated when we try to run a R package. This error report helps us know where is the error and how it can be reproduced. Upon investigation, I was able to…
The Great
  • 7,215
  • 7
  • 40
  • 128
0
votes
1 answer

Ansible Md5 checksum

**I have been trying to Install the new OS when the Md5 result matches but I am unable to get pass that. I keep getting error: "The error was: error while evaluating conditional (md5_result.stdout[0] == ""asdh3jk23h4343243434334". 'dict object' has…
MrKarma4u
  • 144
  • 2
  • 13