Create preshared keys and private keys.