fix ss table encrypt method