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 best solutions below
Related Questions in HASH
- Trouble validating md5 hashed password with randomly generated salt?
- Why k and l for LSH used for approximate nearest neighbours?
- PHP password_hash() / bcrypt
- Unique hash/index for time interval
- Order-independent Hash Algorithm
- git hard reset - what am I doing wrong?
- Java HashMap, hashCode() equals() - how to be consistent with multiple keys?
- Create hash from variables in loop
- Hashing integer coordinates of different sizes
- Xcode salting and hashing a password
- Is there a way to generate a Guid from a list of Guids?
- Path reconstruction with Hashing?
- Creating a Hash with keys from an array and empty arrays as the values
- How to read data from a different file without using YAML or JSON
- change value in hash using an array of keys in ruby
Related Questions in CHECKSUM
- Create checksum and pom for maven repo
- OCR serial number CRC, check algorithm
- Compute checksum on file from command line
- UDP checksum calculation for IPv6 packet
- How check if the sum of the values of two columns, in the same row have exactly 100 as result in mysql
- Python 3 - Computing a hash/checkdigit/etc. to verify which program was used
- TCP checksum incorrect for packets with payload
- TCP checksum is incorrect when trying to send packet in C
- Are replicated blocks holds same check-sum?
- TCP checksum calculation return 0 even when I already set checksum equals to 0 before calculating
- Checksum without logic/bitwise operations
- Laravel - passsing variables to controller
- How to detect carriage return in C?
- Sum calculation error in Arduino Mega 2560
- credit card checksum is crashing my webpage
Related Questions in FINGERPRINT
- Latent Fingerprint Matching
- Why is an IllegalBlockSizeException thrown when testing FingerprintManager in a simulator?
- jenkins, what does fingerprint artifacts means?
- 'System.Runtime.InteropServices.COMException' in Interop.ZKFPEngXControl.dll (0x80040202)
- WinBioCaptureSampleWithCallback failed. OperationStatus = 0x80004001
- Integrate MorphoSmart sdk in android
- ionic finger print android giving missing required parameters error
- Where should I store browser fingerprint?
- WPF Fingerprint application Doesn't run on some windows OS
- Comparing fingerprint live capture and template from DB
- Comparing two fingerprint image using Emgu in C#
- How to get user ID or info in onAuthenticationSucceeded method for android fingerprint
- Implement fingerprint in mobile banking android app
- Raspberry Pi based fingerprint authentication for a large database
- Reading AES1660 fingerprint sensor in MATLAB
Related Questions in 24-BIT
- upload image as 24bit pixel format
- Writing bitmap 24 bit color odd behavior
- Transfer of pixel data: 24BPP images and GL_UNPACK_ALIGNMENT set to 4
- Blue Color Channel on bmp 24 bit file format
- How to read and write 24-bit registers using spi code?
- Issue in spi 24-bit read and write operation
- How to make a 24-bit ANSI color code with high intensity java
- Do modern c++ compilers autovectorize code for 24bit image processing?
- Is 32 bit image processing faster than 24 bit image processing when simd instructions are used?
- Efficiently remove every 4th byte from a numpy.int32 array's data bytes
- How to get 24-bit samples from USB audio device using Python?
- Convert 4-bit color (=ConsoleColor) to RGB and back
- 24 bit graphics mode in assembly
- Read a signed integer of 24 bit on Dart
- How to convert 24bit to 32 bit in Python?
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)
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?
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.