generate unique Hash for idTran