Company will be able to quickly issue SIM to user and expected gain in volume is approximately 10 times as the manual process of verification is replaced with secure automated system

–2 votes

LifeTel Telecom

is the latest entrant in the highly competitive Telecom market of

Singapore. It issues SIM to the verified users. Till now verification was manual

through the photocopy of the approved id card document.

However,

government has

recently introduced Social ID

called Reference ID which is mapped to the fingerprint of

user.

LifeTel should now verify the user against the fingerprint and Reference ID

Nov 25, 2020 in Others by Alvin
• 100 points

recategorized Nov 25, 2020 by Niroj 1,852 views

Hello @ Alvin ,

Do you have any queries regarding this or you are just sharing information? 

Do u have any solution
anybody provided code this question?
Can anyone post the solution to this ?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

"""LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the
verified users. Till now verification was manual through the photocopy of approved id card document. However
government has recently introduced Social ID called Reference ID which is mapped to fingerprint of user. LifeTel
should now verify user against the fingerprint and Reference ID """

import re  # importing for checking regular expression
import base64  # importing for encoding and decoding string in python

x = True
ref_id = input("Enter the Reference ID:- ")
while x:

    if len(ref_id) != 12:  # This will check the length of reference id it should be 12 digit.
        # print(x)
        print("Not Valid| Length should be 12 Character")
        break
    elif not re.search("[A-Z]", ref_id):  # To check that reference id should contain any Capital Alphabet
        print("Not valid| Reference ID  should contain at least one  Letter")
        break
    elif not re.search("[$#@]", ref_id):  # enhancement in code to check if it contain any special character
        print("Not valid| Reference ID should contain at least once character from $#@")
        break
    elif not re.search("[0-9]", ref_id):
        print("Not valid| Reference ID should contain at least once) character 0-9")
        break
    else:
        print("Enter Reference ID is Correct")
        ref_id_en = base64.b64encode(ref_id.encode())  # encoding the reference id
        print("Reference ID is correct and now encrypted:-", ref_id_en)  # Printing the Encrypted reference ID
        ans1 = int(input("Enter the date of birth present in your record in format DDMMYY to decrypt the reference:-"))
        if ans1 == 170490:  # assuming the date of birth is pre register in database
            ref_id_de = base64.b64decode(ref_id_en.decode("ascii"))
            ref_id_final=ref_id_de.decode("ascii")
            print(ref_id_final)
        else:
            print ("Enter DOB is incorrect")
            break

answered Sep 9, 2021 by Dharmendra

edited Mar 5

Related Questions In Others

0 votes
0 answers

LF will be replaced by CRLF in git - What is that and is it important?

I was trying to create a new ...READ MORE

May 16, 2022 in Others by Kichu
• 19,040 points
908 views
0 votes
1 answer

How to format numbers as lakhs and crores in excel/ google spreadsheet when the number could be negative too?

Excel formatting, in my opinion, can only ...READ MORE

answered Oct 31, 2022 in Others by narikkadan
• 63,600 points
15,731 views
0 votes
1 answer

VBA Export as PDF and Save to Location with name as per a Cell in the worksheet

Following is the code that gets generated ...READ MORE

answered Jan 20, 2023 in Others by narikkadan
• 63,600 points
2,080 views
0 votes
1 answer

Where is the documentation to refer for coinbase api integration of Etherium coin currency in php?

Hey there! Please refer to the following ...READ MORE

answered Jan 25, 2019 in Others by Omkar
• 69,220 points
1,075 views
+1 vote
1 answer

Between cyber security and CCNA profession which one is best in terms of time to become an expert and salary payment

CCNA professional is more inclined towards the ...READ MORE

answered Dec 18, 2019 in Others by Pri
2,205 views
0 votes
0 answers
0 votes
0 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP