Generate Reddcoin Private Key/Public Key (keypair)


Hello fellow Reddheads,

Does anyone know what is the protocol of generating private keys from an existing Hex string?
I have a software that generates a random hex string, I would like it to convert it to a Reddcoin keypair.
Do you know which article or part of the source code do I have to inspect to find this part?

EDIT: It is intdended, because I am developing an automated server-client service, and it needs to be able to generate unique addresses, and verify no collision over the network, before assigning them tasks.