It does this by running through a sequence of characters until it finds the correct one.
Mae'n llwyddo i wneud hyn drwy redeg cyfres o nodau hyd nes iddo ddod o hyd i'r un cywir.