}
public Polynomial checkPolynomial(Long l) throws ArgParseException {
Polynomial p = Polynomial.createFromLong(l);
if (p.isReducible()) {
throw new ArgParseException(
"The specified polynomial is not irreducible and therefore invalid for the rabin fingerprint method. Please use -polygen to generate an irreducible polynomial.");
}
return p;
}