Skip to content

karakarasuuuu/Taiwan-ID-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Taiwan ID Validator

Disclaimer

The following content is for educational purposes only.
Do not use it for illegal activities.
It might takes much time.

Validation

According to Wikipedia,
the first English letter represents the birthplace (wiki),
the following number indicates the person's gender,
the third number is the identity,
and the remaining numbers construct a valid ID with the previous conponents.

The First English letter is translated into a two-digit integer (wiki), thus the ID will become a 11-digit intger.
Take each digit multiplies 19876543211 respectively, and divide the result.
If the remainder is zero, then this is a valid ID.

To-Do

  • the third number
  • foreigners
  • GUI
  • refactoring
  • separate main and functions

About

To check (or validate, authenticate, verify, whatever) if a ID is acceptable.

Topics

Resources

Stars

Watchers

Forks

Languages