1. A method of encoding or un-encoding characters comprising: receiving an input keyword string; removing superfluous characters in the input keyword string which are not in a pre-approved character set to thereby form a truncated keyword string; and removing duplicate characters in the truncated keyword string to form a validated keyword.