add encrypt method at site.js