What are the three primary factors on which encryption is based?.