Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Comparing hashes

KaiLarsen
10 - Fireball

I'm trying to compare hashes to calculate a number indicative of their level of similarity. Any thoughts about how to compare these strings? The strings are same length and identical hex in the same location indicates similarity. For example, hashes 3 and 4 both start with 'e', so +1 for their similarity. Their positions 7 and 8 are also identical, so +2.

 

329036933693649764956c996699e6996b18cf1ce704f719ff19ff19bf39bf3c
eff86ff06fe067f0e5c0adc0bd8a9f88df98de885e409ed0dfd047dceff34fe1
ea31de34b874b424be29ee39eb21ed216c616c69c8c9ce49cc61cc39c3c9cdc9
e336e134f070e131e011e210e014e03de831e03af036f058f019f1317907fd83
870ff603e801e965b8c931e9a1cda1cda58d81e580e5844d880d998509cd036d

 

Thoughts?

10 REPLIES 10
KaiLarsen
10 - Fireball
Exactly what was done. Thanks! :-)
Labels
Top Solution Authors