Rainbow table generator and reader