new security encoder