Implements rolling hash string search for multiple keys.