aoc::year2015::day11

Function clean

Source
fn clean(password: [u8; 8]) -> [u8; 8]
Expand description

Sanitize the input to make sure it has no invalid characters. We increment the first invalid character found, for example abcixyz becomes abcjaaa.