Safe Primes

Wikipedia claims that 7 is a safe prime. Can someone please explain to me how 7 is considered a safe prime?

Wikipedia explains that a safe prime “is a prime number of the form 2p + 1, where p is also a prime.”

2x7+14. 14+1=15. 15 is not a prime number.

p is not 7. 7 is a prime of the form 2p+1. p=3, which is also a prime.

I don’t think the article is saying that all numbers of the form 2p + 1 are prime numbers, just that those prime numbers that are of the form 2p + 1, where p is also a prime are safe primes.

You got the idea backwards. 7 = 2p + 1 yields p = 3 which is prime, thus, 7 is a safe prime.

Edit: Beaten by 2 minutes :slight_smile:

No but if p=3 (prime)
then 2x3=6 6+1=7

So, what is the significance of safe primes?

Safe and Sophie Germain primes - Wikipedia

It’s cryptography related. From the Wikipedia article:

Basically, a safe prime is suitable for use in cryptographic algorithms that are based on prime factorization.

Thank you.

I read that quote four times, and I still don’t understand, but I now accept that safe primes do have some significance.

(Is there any way a better understanding of cryptographic principles will enhance my understanding of the universe or myself, or can I accept this gaping hole in my knowledge?)

Getting mixed up safe primes with Sofie Jermain prime:smack:

I always thought number theory was beautiful in its own right, but if you insist on mere utility I shall give you an obol and send you read about the warning signs of cryptographic snakeoil. Schneier has it in a more conversational form, and he’s a good source of a lot more information about crypto as well.

Is there a further category of “safer” primes?

Something like 2p+1 where p is a safe prime?

Do you mean whether they exist or whether they have a separate name? If the former, then yes: 22 + 1 = 5, 25 + 1 = 11 (and we can even go one step further with 211 + 1 = 23); if a prime p is such that 2p + 1 is prime as well, it’s a Sophie Germain prime (as mentioned above), wikipedia tells me, so what you’re looking for are safe primes that are also Sophie Germain primes; strings of such consecutive nearly-doubled primes are called Cunningham chains.

cool, yeah I meant with a name. The wiki entry is a bit over my head, but I think I got your explanation.

Wow, I am really glad you showed me these sites, ty!!!

I don’t think understanding the universe, or, for that matter, myself, is particularly useful; both will do what they do.

I will explore your links.