Create pubkey