Function advent_solutions::advent2017::day04::is_valid_part2 [] [src]

pub fn is_valid_part2(passphrase: &str) -> bool

For added security, yet another system policy has been put in place. Now, a valid passphrase must contain no two words that are anagrams of each other - that is, a passphrase is invalid if any word's letters can be rearranged to form any other word in the passphrase.

For example: