Cryptography, Blockchain, Ethereum, ICO, Bitcoin.
For a given prime q, p is a safe prime ⇔ p = 2*q+1 With safe prime defined, we can follow the algorithm described below: Handbook of Applied Cryptography chapter 4 (www.cacr.math.uwaterloo.ca/hac) Because p is a safe prime, p = 2*q+1. Therefore, the length (also called order) of 𝔽p is p-1= 2*q.