n_key, synkey and nice_key generation -- when needed