1. Give a simple example of a mathematical function that to a first approximation will do as a one-way function.
2. Suppose that two strangers A and B want to communicate with each other using secret- key cryptography, but do not share a key. Suppose both of them trust a third party C whose public key is well known. How can the two strangers establish a new shared secret key under these circumstances?