public static void AgainstInvalidSeed(int modulus, BitString seed)
        {
            // If not a valid modulus, don't look up the security strength
            if (!(ValidModulusFips186_2.Contains(modulus) || ValidModulusFips186_4.Contains(modulus) ||
                  ValidModulusFips186_5.Contains(modulus)))
            {
                return;
            }

            if (seed.BitLength < 2 * KeyGenHelper.GetEstimatedSecurityStrength(modulus))
            {
                throw new RsaPrimeGenException($"Invalid {nameof(seed)} length");
            }
        }