Not only this is impossible, it makes no sense at all. There are two keys, and the idea is radically different. You cannot write requirements having no clue on what you can and want to achieve. Start here:
http://en.wikipedia.org/wiki/Public-key_cryptography[
^].
Be careful: if you read it with attention, it should turn your brain inside out. :-)
—SA