Verify (manually) phone index add works with cic-meta-server

This commit is contained in:
nolash
2021-04-07 15:34:45 +02:00
parent 805492ab61
commit 7fad15b66d
9 changed files with 64 additions and 16 deletions

View File

@@ -80,6 +80,8 @@ phone_idx = []
user_dir = args.dir
user_count = args.user_count
random.seed()
def genPhoneIndex(phone):
h = hashlib.new('sha256')
h.update(phone.encode('utf-8'))