Skip to content
Snippets Groups Projects
Commit e956fd84 authored by Vedrana KRIVOKUCA's avatar Vedrana KRIVOKUCA
Browse files

Fix small bug in code used to take the user seed as input in the ST scenario

parent 5f7b11bd
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -55,7 +55,7 @@ class IVector_BioHash (IVector): ...@@ -55,7 +55,7 @@ class IVector_BioHash (IVector):
return biohash.create_biohash(ivector, self.length, user_seed) return biohash.create_biohash(ivector, self.length, user_seed)
else: # stolen token scenario, so user_seed will be some randomly generated number (same for every person in the database), specified in config file else: # stolen token scenario, so user_seed will be some randomly generated number (same for every person in the database), specified in config file
print "STOLEN TOKEN scenario user seed: %s\n" % (self.user_seed) print "STOLEN TOKEN scenario user seed: %s\n" % (self.user_seed)
return biohash.create_biohash(self.ivector, self.length, self.user_seed) return biohash.create_biohash(ivector, self.length, self.user_seed)
def project(self, feature_array, user_seed): def project(self, feature_array, user_seed):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment