Re:How hard can generating 1024-bit primes be?
by toast0 on Friday May 03, 2024 @09:12PM
(#40254001)
Another factor is if your high bit is always set, and you encode the prime with that bit, your prime always takes the same number of byte to encode.
Variable byte encoding can lead to problems, if you need to exchange the data between different software, unless the specifications are very clear, and well tested. (See problems with RSA based DHE if the server public key has leading zeros)
Variable byte encoding can lead to problems, if you need to exchange the data between different software, unless the specifications are very clear, and well tested. (See problems with RSA based DHE if the server public key has leading zeros)