there are 10 chars, 2824752490000000000 possibilities, why not try brute force algorithm?
it will take about 90 thousand years, though, assuming a million attemps by second.
...........
Ok, maybe not. anyway, the tripcode function itself says little, what about a tripcode breaker? that's something one should begin to look at.