Tripcode decoder (696)

476 Name: Anonymous : 2008-11-08 17:15 ID:Heaven [Del]

>>475
but '&aaaaaaa' and 'Ĥaaaaaaa' produce different tripcodes. with '&aaaaaaa', '&aaa' gets passed to crypt, but 'Ĥaaaaaaa' the result is the same as if '&aaaaaaa' were passed to crypt. note that in this case it also changes the salt, in one it is 'am', and in the other it is 'aa'.

also, if you're printing to stdout, you need to convert to the appropriate character set before you print the tripcodes, which isn't necessary if you restrict it to just ascii. printing shift-jis to a utf-8 terminal is just plain broken.

This thread has been closed. You cannot post in this thread any longer.