<?php 
//echo generateHash("L3d4123.1");  //http://tecnoshopper.com/
//echo generateHash("4vit4123.1");  //http://tiendaavit.com/
//echo generateHash("syscorebe4123.1"); //http://www.syscorebeStore.com
//echo generateHash("vti4123.1"); //http://www.vtistore.com.mx
//echo generateHash("inblay4123.1"); //http://www.inblay-connect.com
//echo generateHash("dragon4123.1"); //http://www.dragonrojo-connect.com
//echo generateHash("opti4123.1"); //http://www.optisolutions-connect.com
//echo generateHash("hq4123.1"); //http://www.computohq.mx
//echo generateHash("asc4123.1"); //http://www.efficenterstore.com
//echo generateHash("leivo4123.1"); //https://www.leivostore.com/
//echo generateHash("dremce4123.1"); //http://dremce.com/
//echo generateHash("gstnetwork.1"); //http://comprasit.com
//echo generateHash("tech4me.1");  //http://tech4me.mx
//echo generateHash("servcomp.1"); 
//echo generateHash("trustnet.1"); 
//echo generateHash("smartpc"); 
//echo generateHash("sitglobal2021"); 
//echo generateHash("sdcshop2021"); 
//echo generateHash("tecnodigital2021");
//echo generateHash("netstore2021"); 
//echo generateHash("apple");
//echo generateHash("mobility.2021");
echo generateHash("e-konic.2021");

	function generateHash($plainText, $salt = null)
	{
		if ($salt === null)
		{
			$salt = substr(md5(uniqid(rand(), true)), 0, 25);
		}
		else
		{
			$salt = substr($salt, 0, 25);
		}
	
		return $salt . sha1($salt . $plainText);
	}
?>