You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using jaxite to encrypt SHA-256 hashes of email addresses and trying to calculate the overlap between two lists of emails, company_emails and partner_emails. My current approach involves comparing each bit of the encrypted hash arrays, which seems inefficient given that I have to compare 256 * 881 elements to determine similarity.
Is there a more efficient way to compare these encrypted email hashes without resorting to bit-by-bit comparison? Am I misunderstanding something, or is there a better approach available within the jaxite library?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using jaxite to encrypt SHA-256 hashes of email addresses and trying to calculate the overlap between two lists of emails, company_emails and partner_emails. My current approach involves comparing each bit of the encrypted hash arrays, which seems inefficient given that I have to compare 256 * 881 elements to determine similarity.
Here's a snippet of the code for clarity:
Is there a more efficient way to compare these encrypted email hashes without resorting to bit-by-bit comparison? Am I misunderstanding something, or is there a better approach available within the jaxite library?
Beta Was this translation helpful? Give feedback.
All reactions