ascii - Method for generating numerical values from a URL -


In the 90's there was a toy called Barcode Battler. This scan generates barcodes, and values ​​with different figures like RPGs, hit points like attacking power, magic power, etc. Can there be a way to do this with the URL? Just like a simple URL, the figures are generated in this way. I was thinking that ASCIIs of different characters take the value and use them in the URL, but it seems very convincing and obvious.

Take the MD5 sum of the ASCII encoding of the URL? It is incredibly easy on most platforms, it will give you 128 bit to come up with data. If you want more, then use a longer hash algorithm.

(I do not remember details about what is allowed in the URL - if non-ASCII is allowed, you can use UTF-8 instead.)

< / Div>

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -