checksum Questions

9

Solved

I would like to implement this in C# I have looked here: http://www.codeproject.com/KB/cpp/PEChecksum.aspx And am aware of the ImageHlp.dll MapFileAndCheckSum function. However, for various reas...
Varityper asked 21/6, 2011 at 17:55

3

Solved

I've been looking for the equivalent python method for the Unix cksum command: http://pubs.opengroup.org/onlinepubs/7990989775/xcu/cksum.html $ cksum ./temp.bin 1605138151 712368 ./temp.bin So far...
Wallsend asked 26/7, 2011 at 19:24

8

Solved

I'm looking for a modern JavaScript implementation of CRC32. This implementation, which may have originated from here, and is now here, there and everywhere, is unacceptable because it's slow (500...
Rikki asked 5/9, 2013 at 14:21

4

Solved

I'm creating a Dockerfile that downloads, builds, installs node.js from source. I'd like to checksum the download before building it, and stop or exit the Dockerfile if the checksum fails: #...
Phenocryst asked 22/4, 2014 at 3:38

7

Solved

The SHA1 hashes stored in the tree objects (as returned by git ls-tree) do not match the SHA1 hashes of the file content (as returned by sha1sum): $ git cat-file blob 4716ca912495c805b94a88ef6dc3fb...
Isley asked 29/8, 2011 at 1:37

9

Solved

There are lots of implementations for validating Luhn checksums but very few for generating them. I've come across this one however in my tests it has revealed to be buggy and I don't understand th...
Onlybegotten asked 13/9, 2009 at 22:4

3

Solved

I have a question regarding the verification of executable files, compiled with visual studio, using a checksum: If I build a project from src, I end up with an executable, call it exec1.exe, that ...
Alloy asked 28/12, 2011 at 2:37

5

I am using the following function to generate a CRC sum and it doesn't appear to be returning the same checksum when compared to online CRC-CCITT calculators. This function specifically uses the X...
Kassandrakassaraba asked 19/6, 2013 at 16:40

2

Solved

I have a set of tar files. I wanted to create MD5 checksum for those files using Maven. How to do it? i created this tar files using maven-assembly-plugin.
Dru asked 6/6, 2013 at 9:10

6

Solved

I'm not a programmer, just a regular user of Google Drive. I want to see if the files are uploaded correctly. I go through a whole process in the OAuth 2.0 Playground that lists all files, shows th...
Bartlett asked 4/5, 2014 at 22:11

3

Solved

I am trying to create a checksum of a file and save the checksum as a file same. So.I monitor the the file and if the checksum changes then a do something. Here is the checksum For test.txt cont...
Straley asked 20/7, 2014 at 5:13

21

Solved

Typical approaches recommend reading the binary via FileStream and comparing it byte-by-byte. Would a checksum comparison such as CRC be faster? Are there any .NET libraries that can generate a c...
Decagram asked 31/8, 2009 at 17:38

6

Solved

I'm using the checksum function in SQL Server 2008 R2, and I would like to get the same int values in a C# app. Is there any equivalent method in C# that returns the same values as the SQL checksum...
Biomass asked 18/9, 2013 at 16:28

6

Solved

Previously I asked a question about combining SHA1+MD5 but after that I understand calculating SHA1 and then MD5 of a large file is not that faster than SHA256. In my case a 4.6 GB file takes about...
Tableau asked 20/7, 2016 at 6:59

10

Solved

I was trying to implement the Luhn Formula in Python. Here is my code: import sys def luhn_check(number): if number.isdigit(): last_digit = int(str(number)[-1]) reverse_sequence = list(int(d) ...
Judkins asked 12/1, 2014 at 19:47

4

Solved

I'm trying to add CRC16 error detection to a Motorola HCS08 microcontroller application. My checksums don't match, though. One online CRC calculator provides both the result I see in my PC program ...
Kathrynekathy asked 15/12, 2010 at 21:45

4

Solved

Where do I specify BB_STRICT_CHECKSUM = "0" in Yocto to disable checksum check of source code? I get: ERROR: No checksum specified for /PATH/TO/ti-linux-kernel.git, please add at least one to the...
Orobanchaceous asked 26/8, 2014 at 8:52

4

Solved

how can i create a checksum of only the media data without the metadata to get a stable identification for a media file. preferably an cross platform approach with a library that has support for ma...
Confectionery asked 7/3, 2010 at 9:48

6

I want to programmatically create a SHA1 checksum of audio files (MP3, Ogg Vorbis, Flac). The requirement is that the checksum should be stable even if the header (eg. ID3) changes. Note: The audio...
Sayer asked 8/12, 2008 at 23:14

2

Solved

Trying to get a check sum of results of a SELECT statement, tried this SELECT sum(crc32(column_one)) FROM database.table; Which worked, but this did not work: SELECT CONCAT(sum(crc32(column_one...
Oxen asked 10/5, 2011 at 20:2

22

Solved

I am looking to use Java to get the MD5 checksum of a file. I was really surprised but I haven't been able to find anything that shows how to get the MD5 checksum of a file. How is it done?
Chiachiack asked 20/11, 2008 at 3:45

2

Solved

I have been trying to get my head around CRC32 calculations without much success, the values that I seem to get do not match what I should get. I am aware that Python has libraries that are capabl...
Fatty asked 10/1, 2017 at 9:1

11

Solved

Which checksum algorithm can you recommend in the following use case? I want to generate checksums of small JPEG files (~8 kB each) to check if the content changed. Using the filesystem's date mod...
Iqbal asked 23/9, 2008 at 18:48

11

I am using following code to implement Luhn algorithm for credit card check in C# language, but could not get the output to generate the check sum its showing validity. Kindly help me. Thank you in...
Gauleiter asked 21/1, 2014 at 5:12

3

I need to get CRC64 checksum of files using PHP. With this code file_put_contents('example.txt', 'just an example'); echo hash_file('crc32', 'example.txt'); I get CRC32 checksum "c8c429fe"; B...
Maisel asked 20/4, 2012 at 11:42

© 2022 - 2024 — McMap. All rights reserved.