Began implementing make-domain-private-key function