Aadhaar: It's time to encrypt all biometric data with password

All biometric data should be encrypted. During authentication, the user needs to provide both aadhar number and password.

So only the user can decrypt and access the biometric data. Biometrics of the little finger can be kept in the unencrypted form, to remove duplicates.

In case you forget the password:
One has to submit the aadhaar number and little finger biometrics to obtain another.
The ciphertext of aadhaar number should be replaced with new ciphertext (obtained from new password)

In case you lost both (Password and Aadhaar Number):
The person must come under scrutiny and old aadhaar number should be removed by using his/her little finger, and new aadhaar number can be given.

To change the password:
Enter the old password and aadhaar number, match the ciphertext with your fingerprint and then replace the ciphertext with new password.

All the steps should be done in aadhaar center.

The python code:

from Crypto.Cipher import AES

obj = AES.new('Aadhaar No:1234567891012', AES.MODE_CBC, 'MyPassword:58023')
message = "Aadhaar Biometric data data data"

ciphertext = obj.encrypt(message)

print(ciphertext)

obj2 = AES.new('Aadhaar No:1234567891012', AES.MODE_CBC, 'MyPassword:58023')

print(obj2.decrypt(ciphertext))

# Code for authentication
# Enter your finger print
# Match the finger print with obj2.decrypt(ciphertext)
# Authentication success 


Comments

Popular Posts

Suggestions for changes in lessons of NCERT Chemistry book

Explaining true experiment to a 13-year-old

Universal Basic Income and Education: A beginning to a continued resilient human ecosystem

If all scientific discovery relies on peer review for validation, why not assessment be done through peer review?

How making an aahaar api can revolutionize India in providing personalized and accurate information?

What if we limit the expression of these two important words: Share and Adapt?

All books that don't meet the learning criteria must be taken off

How much does retrieval practice help in learning?

PISA sample question: Why I was unable to solve a question?