Added a security mesure to reduce potential crypto attacks