I added some fuzzing and found that there's various crashing bugs (indexes arrays outside of bounds) e.g with password "".