Print a message when generating a key.