This question already has an answer here:
- Do we have negative prime numbers? 7 answers
I was wondering, can a prime number be negative? We had a question over at security.se which stated that prime generation with openssl:
openssl dhparam -text 1024
results in a 1024-bit number to which leading zeros are added (resulting in 1032 bits). It could be the case that this is done to sign the integer, however it was my believe that negative primes did not exist?