Is there any functions or coding samples available that can take a string of Characters and create a compact binary Number/PIN. The requirement would be that given the same string of data, it would always produce the same unique binary data. For instance if the string contained (ssn,name,Date_of_birth,Gender)then given that same set of data again the Identical PIN would be Generated. Also the routine or function should not produce duplicate PINs with different data.