remove unKey and unNonce after learning about the encode function