I need a checksum/fingerprint function for short strings (say, 16 to 256 bytes) which fits in a 24 bits word. Is there any well known algorithm for that?
Is there any classic 3 byte fingerprint function?
926 views Asked by Igor Gatis At
2
There are 2 answers
Related Questions in HASH
- How can py tuple implicit cast to int?
- How to properly set hashes in script-src CSP policy header?
- Algorithm for finding the largest common substring for n strings using Rabin-Karp function
- Lua: is there a need to use hash of string as a key in lua tables
- When the key values are the same, the memory limit is exceeded when making a hash join
- Short for creating an array of hashes in powershell malfunction?
- LC347: Top K Frequent Elements; final result returns an extra element in list/array
- Hashing vertices of a Graph in C
- Is there a limit on the message size for SHA3?
- When hashing an API key, should I hash the suffix / prefix as well?
- Cmake error : Configuring incomplete, errors occurred
- murmur3 hashing function in postgres
- Hashing the password if it is not hashed in django
- Order of a set in Python
- Comparing the hash of a file, containing a list of hashes of multiple files instead of each file, is it good?
Related Questions in CHECKSUM
- Identify the checksum algorithm
- tar.gz image archive created via bitbake differs from archive created manually
- I am having doubts on how checksum is calculated
- How to calculate the checksum of this serial data?
- Comparing the hash of a file, containing a list of hashes of multiple files instead of each file, is it good?
- Why did the integrity checksum in the pacakge-lock.json change only by a few characters?
- Why we need wraparound in UPD checksum algorithm?
- How to compute Smaller checksum for executable ranging from 4 to 6 bytes?
- What is the CRC32 Collision probability of All possible ASCII strings of variable length ranging from 1 to 7
- Randomize values in SQL Server using extra criteria
- How to Implement a Checksum Algorithm Based on a Written Description
- How does a program know I have attempted to alter a license file?
- Checksum of checksums of a local file downloaded from S3 does not match SHA-256 checksum of the remote file
- How to obtain head.ChecksumAdjustment?
- Checksum value from Minio Python Client
Related Questions in FINGERPRINT
- How to setup nist nbis in raspbian raspberry pi 4
- How can I override navigator.userAgentData?
- Digital Persona Fingerprint(4500) reader integration with Vue JS 2
- Verifying Secugen fingerprint capture from database in android java
- Issue with Windows Biometric Framework Capture Sample for Capacitive Touch Fingerprint Sensor
- Is anyone here tried connecting a Biometric fingerprint device with a web or desktop application?
- Unable to show biometric authentication dialog using flutter webview
- R503 fingerprint sensor
- how to validate fingerprints in angular?
- Why Truecaller SDK gives me an error: 40304, Invalid fingerprint in my flutter app?
- Google Maps not working on release Android bundle
- NET8 Maui IFingerprint doesn't stop to ask for authentication
- Is it a good idea to verify biometric fingerprint authentication only in FE?
- Fingerprint template matching zkteco
- Puppeteer SetViewPort in Gologin or AdsPower Browsers, change creepJS browser fingerprint
Related Questions in 24-BIT
- How to make a 24-bit ANSI color code with high intensity java
- Read a signed integer of 24 bit on Dart
- How to convert 24bit to 32 bit in Python?
- 24 bit graphics mode in assembly
- How to get 24-bit samples from USB audio device using Python?
- Using a 24bit signed integer atomic
- convert 24 bit binary char array to double (reading binary wave data)
- unpacking signed 24 bit little endian file to decimal
- Efficiently remove every 4th byte from a numpy.int32 array's data bytes
- MATLAB fread 24 bit convert to Python
- How to convert RGB24 to RGB for web?
- Same Image URL's returning either 24 bit or 32 bit Image on Cloudfare Server? (cURL "content-length" check)
- FFmpeg - how to set output sample_size
- How to convert RGB565 to HSL Color in C
- how to convert 3 bytes in little endian order to a floating number from -1 to +1
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I propose to use a 24-bit CRC as an easy solution. CRCs are available in all lengths and always simple to compute. Wikipedia has a matching entry. The quality is far better than a modulo-reduced sum, because swapping characters will most likely produce a different CRC.
The next step (if it is a real threat to have a wrong string with the same checksum) would be a cryptographic MAC like CMAC. While this is too long out of the book, it can be reduced by taking the first 24 bits.