Improved tripcodes