SecretKey: update "isDecrypted" after encrypting the key.

After encrypting the private key the value of "isDecrypted" should be true.