Method for generating and verifying security information obtained by means of biometric readings