I would use a one-way-function for that. See here for some explanation on one-way-functions. Although in your case it might be overkill, i.e. you don't state that it has to be difficult/impossible to calculate the original out of the generated code. Still a one way function does what you want. Take a look at some of the Crypt modules.
In reply to Re: Need and algorithm to converse characters to unique and permanent Serials
by dHarry
in thread Need and algorithm to converse characters to unique and permanent Serials
by Sombrerero_loco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |