Anagram codification