You need to process all the passwords (once) but only 1/N of them (for some large N) are stored on the disk.