Biometrics in base64 generating different codes for the same digital

2

I'm having problems with digital encoding (biometrics) in base64 for parameter passing via http . The problem is that each capture of the same digital are generated different codes, in this way it is not possible to compare with those that are registered in the base that has relation one to one (a user, a digital). Just at the clarification level, I can not use the Base64 class native of Java 8 , since clients should run Java 7 , to avoid bureaucratising for Java 8 security. So for this I only saw two alternatives so far, the first using the method below:

BaseEncoding.base64().encode(digital);

and the second with:

DatatypeConverter.printBase64Binary(digital);

but in neither case do they generate equal codes for the same digital. Thanks for the help you give me.

    
asked by anonymous 18.07.2017 / 13:54

2 answers

2

As Roberto Fagundes said, with this type of biometrics we work by approximation.

If you pick up any phone with digital recognition, it asks you to insert the digital finger every five to ten times. When you are going to enroll in a health plan or anything else you will usually catch several samples as well.

You need to save a lot of user samples, and when you receive an input you should look for the digital ones that are closest to the database. You authenticate the user if you get an arbitrarily high match with some specific digital that is present in your database.

Finally:

  

(...) clients should run java 7, to avoid bureaucratization by the security of java 8 (...)

If you are going to avoid a version of the Framework because it is more secure, your application is exposed to known security holes. It is ironic that you are trying to keep the system secure through fingerprints (which are fake), but you are not using the latest version of Java. This is as dangerous as playing paintball with firearms.

    
18.07.2017 / 14:35
1

Working with biometrics you can not work with igualdade , the comparison should be done by aproximação , because the person will rarely put his finger in the same position.

Perhaps it is recommended that you look for any reader that contains a SDK to JAVA .

    
18.07.2017 / 14:25