Split casting of private and public keys.