Here is an example of a key generation with the Digital Signature Algorithm (DSA):