Don't set the secret key to the public key.

The setSecretKey function copied the public key into the secret key.  This probably means that the code has never been used or tested, so I removed it.