15.12 Providing a public key

In collaborative projects where data may be pooled, a public key can be made available by you via a link to enable collaborators to encrypt sensitive data. This provides a robust method for sharing potentially disclosive data points.

gp_encrypt = gp %>% 
  select(-c(name, address1, address2, address3)) %>% 
  encrypt(postcode, telephone, public_key_path = 
            "https://argonaut.is.ed.ac.uk/public/id_rsa.pub")