Name: Anonymous 2018-10-01 4:03
How are tripcodes generated?
:;<=>?@[\]^_`
with the corresponding character from ABCDEFGabcdef
man 3 crypt
. $salt = strtr(preg_replace("/[^\.-z]/",".",substr($trip."H.",1,2)),":;<=>?@[\]^_`","ABCDEFGabcdef");
$trip = substr(crypt($trip, $salt),-10);
(you can skip that if you don't need japanese tripcodes)wrong, some japanese input leads to non-japanese output