addressed non-determinism in comparisons of encrypted strings