Write correct private and public keys data