src/sap.ui.core/src/jquery.sap.history.js
function preGenHash(sIdf, oStateData){
			var sEncodedIdf = window.encodeURIComponent(sIdf);
			var sEncodedData = window.encodeURIComponent(window.JSON.stringify(oStateData));
			return sEncodedIdf + sIdSeperator + sEncodedData;
		}
function preGenHash(sIdf, oStateData){
			var sEncodedIdf = window.encodeURIComponent(sIdf);
			var sEncodedData = window.encodeURIComponent(window.JSON.stringify(oStateData));
			return sEncodedIdf + sIdSeperator + sEncodedData;
		}
function preGenHash ( sIdf , oStateData ) { var sEncodedIdf = window . encodeURIComponent ( sIdf ) ; var sEncodedData = window . encodeURIComponent ( window . JSON . stringify ( oStateData ) ) ; return sEncodedIdf + sIdSeperator + sEncodedData ; }
This function encode the identifier and data into a string.

@private
This function encode the identifier and data into a string .