added secretkey to list of encoded fields