We help IT Professionals succeed at work.

check digit ?

matthew016
matthew016 asked
on
1,292 Views
Last Modified: 2008-01-09
Hi,

I need to check wether an Isin code specified by a user is valid or not..
I found this article exaplaining an algoryhtm to compute a "check digit" : http://en.wikipedia.org/wiki/International_Securities_Identifying_Number
But what do I have to do after calculating this check digit ?

Maybe if you have some experience in security, you understand what this is about ? (I have none)

Thank you.
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
I am not sure I understand.
If user makes a typo, I will compute a certain digit. How can I detect from this digit that he made a typo ?
CERTIFIED EXPERT
Top Expert 2011

Commented:
Error checking is a speciality in it's own right ... i'm not saying i'm an expert but as far as I can see the referenced syntax will indicate an error exists but it is not error correcting and will not indicate which character, (or characters are wrong).

i.e. when requesting or receiving the data you should calculate the check digit for each datum and ensure it is correct before proceeding and where any individual datum is wrong reject it and move on.

Chris

Author

Commented:
Well I need to know how I detect an error exists.
I do not want to correct the error.

But now I am maybe confusing
* error detection in some kind of I/O operations, etc. and
* validation to check if the data entered is a valid sequence

Author

Commented:
nevermind ...

I see that I can check the digit computed with the last number of the sequence number.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.