If you use the Damm algorithm to generate check digits, is there a method to try correcting the error if the code doesn't validate?
Error correction based on Damm check digit
224 Views Asked by Remko At
1
There are 1 best solutions below
Related Questions in ALGORITHM
- MCNP 6 - Doubts about cells
- Given partially sorted array of type x<y => first apperance of x comes before first of y, sort in average O(n)
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Dots and Boxes with apha-beta pruning
- What is the average and worst-case time complexity of my string searching algorithm?
- Building a School Schedule Generator
- TC problem 5-2:how to calculate the probability of the indicator random variable?
- LCA of a binary tree implemented in Python
- Identify the checksum algorithm
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Algorithm to find neighbours of point by distance with no repeats
- Asking code suggestions about data structure and algorithm
- Heap sort with multithreading
Related Questions in ERROR-CORRECTION
- How can I correct a typo within a column in R?
- How to get results on the significance of alpha and beta coefficients of VECM in R
- What is the name of the error correcting code which uses progressively finer "combs"?
- Implementing an extended Hamming code encoder
- How to: Hamming (248,240) decoder in Python
- Error: UNKNOWN errno: -4094, readlink :C:\Users\OneDrive\Documents\oyebusy-beauty\oyebusy-web\oyebusy-webapp\.next\server\app-paths-manifest.json
- An algorithm to fix a subtitle.srt file with ground truth paragraph
- How successive cancellation decoder of polar code works in the case of BSC channel?
- how to combine different qr codes to get a new qr code
- What is the number of errors that can be detected and corrected when encoding three messages using the 5-bit strings 00000, 11111, and 01101?
- The Go Programming Language book example server2 is wrong?
- Fibre based QKD Simulator
- Correcting a message using Error Correcting Codes in Python
- Using list comprehension to replace a string containing space
- Troubleshooting java script maximum / minimium / average / barchart code 2 classes 4 function methods
Related Questions in CHECK-DIGIT
- PHP Mod-30 Check Digit Algorithm Producing Incorrect Results
- How to calculate a checkdigit for a gs1-128 SSCC barcode
- How to calculate the check digit according to ISO 6346
- How Do I Ensure a Candidate Latin Square Is a Valid Damm Operation Table
- Create check digit function
- How to concatenate two integer numbers into a String (python)?
- Python3 check digit algorithm
- Efficient implementation of the GTIN-13 algorithm
- Error correction based on Damm check digit
- Invalid Token. Not accepting integers that start with 0
- code 128 barcode in c# wrong check digit for one barcode
- Single character signing scheme (minimal security)
- Can't find the digit check algorithm
- I need to validate an input string using checksum for alphanumerics
- How can I get next check digit using luhn algorithm in javascript
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 # Hahtags
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?
Nope, the algorithm can only be used to detect errors, not correct errors.
This can be demonstrated with a simple example. Let's say that you receive a number containing the digits
9857. When you run the algorithm on that number, the result is 6. So one of the digits has been changed. But which one?With a brute force search, you can determine that the original number could be any of the following:
So a number that contains an error does not uniquely identify the original number.
In general, it's possible to get a correct checksum by changing any one of the digits. Which is to say that if you receive a number with
Ndigits, and the checksum is not 0, then it's possible to change any one of theNdigits to get a correct checksum.