There is some ultra-minimum bit length (in the 20s?) below which it will crash. It will also crash on any even public exponent. It will also hang forever on huge key sizes, so we may want to consider adding a check there?)