new method to clear the secret key field