I'd like to calculate a hash of a set of strings in Java. Yes I can sort the strings and calculate the
MD5 hash iterative using digest.update.
But I'd prefer to omit the sort and use something like combineUnordered https://github.com/google/guava/wiki/HashingExplained
There is a lot of similar question asking the same such as Order-independant Hash Algorithm
but non of them provides a simple example showing how to calculate iterative an order independent hash in Java.