I like how my tripcodes don't make sense. I basically went off of what you said in an older thread; crypt() while using the 2nd/3rd characters as a salt.
That gets me the desired tripcode... Kind of. I actually end up with 3 extra characters at the beginning of the tripcode that shouldn't be there (ideally), I have to shave them off.
I tested my results against results generated by http://hotaru.freelinuxhost.com/trip.htm, and yeah, my results are identical.
I guess it's not a huge deal; just wondering if there's a more efficient method (despite the fact that the function is currently only 4 lines of code, anyway).
By the way, I'm working with Ruby.