F rabinKarp(code: Function, d: number, q: number, one: number): Function
Note that q should be random and about m (that is, log m bits) for best performance.