NCATComp410 / comp410_fall_2024

COMP410fFall 2024 semester class project
MIT License
0 stars 0 forks source link

Detect IN_PASSPORT #18

Open lailacodes opened 1 week ago

lailacodes commented 1 week ago

DESCRIPTION

An IN_PASSPORT (Indian Passport Number) is a unique number assigned by the Government of India to passport holders. It certifies the identity and citizenship of the passport holder for international travel. It is important to detect IN_PASSPORT to prevent potential identity theft and fraud, and to ensure the passport holder's sensitive information remains secure and protected.

DETECTION STEPS

An IN_PASSPORT consists of eight characters:

Example: E7654321

Dyamondgrate commented 1 week ago

Hey @lailacodes, Question, should the detection process reject passport numbers that contain any alphanumeric character or lower case letter ?

lailacodes commented 1 week ago

@Dyamondgrate Lowercase letters are not used in the IN_PASSPORT, so it should reject them. The IN_PASSPORT number should also adhere to the format of the first character being an uppercase letter and the following characters being integers from 0-9. Also, I'm going to update the detection steps for more clarity because none of the characters should be symbols either.

claesmk commented 1 week ago

Looks good

Lmill5 commented 1 week ago

Is there a specific regular expression we should use to detect the IN_PASSPORT format accurately?

AbdoulZeba commented 1 week ago

Seems very interesting how an individuals personal information is protected