Can not get prime if length<16
wodadehencou opened this issue · comments
if length<16, check prime will also pass that r % p == 0 if r==p
. The biggest prime of first 2048 prime is 16bit long.
This problem exist in almost every prime generation crates
Thanks is for filing this. However can you elaborate more? What do you mean by length? The smallest bits allowed is 128.