Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Trip-codes

Name: Anonymous 2007-08-15 9:47 ID:rAGjFXj3

What's a good way to generate trip codes like 4chan uses?  Taking the user IP as an argument.

Name: SomeGuy 2010-01-08 0:59

test.

Name: SomeGuy !Ug/viy1seM 2010-01-08 1:01

test

Name: Anonymous 2010-01-08 10:03

>>80-82
щ(゚Д゚щ)

Name: !JfY1ekq/8k 2010-01-09 11:33

test

Name: Miyuki Is Mai Waifu !CoFD27ghhs 2010-01-11 5:45

sage

Name: !vkPjRZkh2M 2010-01-12 3:36

I made a bunch of codes using vectripper, and all of them seem to work except the one I want to use.  when I ran it through a tester, the 2ch hash read "a..TRIpfAg," which was what had been generated, but the 4ch hash read "vkPjRZkh2M," which is what gets displayed.  normally these two should match.  what do?

Name: Anonymous 2010-01-12 7:05

>>86
what do?
You go back to /b/.

Name: Anonymous 2010-01-12 9:35

>>86
If the tripcode contains a yen mark, replace that with \

Name: !2etTriPfAg 2010-01-12 18:03

test

Name: dick dickd cidksdf 2010-01-30 19:45

dcidkfsdifnsdic idckdci dickdcidn cid cidck

Name: Anonymous 2010-01-31 4:54

>>90
Back to /pr/

Name: Anonymous 2010-01-31 15:46

>>93,94
same person

Name: costy 2010-04-25 7:35

<?php
  $ALPHABET = "0123456789!ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

function tripcode($ip) {
  $ip = "127.0.0.1";
  $salt = date();
  $crypt = crypt($ip, $salt);
 
  $trip = "";
  for(int i=0; i<strlen($crypt); i++) {
     int idx = ((int) $crypt[i]) % strlen($ALPHABET);
     $trip .= $ALPHABET[idx];
  }

  return $trip;
}
?>

Name: Anonymous 2010-04-25 8:25

OMG I LOVE PHP

Name: Anonymous 2010-04-25 9:32

This is my professional web developer solution:
<%# ip.Reverse(); %>

Name: Anonymous 2010-04-25 11:43

For the record, the way Shiitchan generated the IP-based IDs (as seen in the early posts in this thread) is this:

substr(base64_encode(pack("H*",sha1($_SERVER[REMOTE_ADDR].date("d").SecureSalt()))), 1,8)

Where SecureSalt returns the constant site-wide salt and . is the concatenation operator and not a method call because PHP is beautiful.

The tripcode algorithm is well-known, of course.

Name: Anonymous 2010-04-25 14:12

>>96
$_SERVER considered harmful.

Name: !!b33rvalve 2010-05-15 19:29

testing

Name: Anonymous 2010-05-15 20:13

>>98
Go play in traffic.

Name: Anonymous 2010-05-15 22:52

>>99
Go play in web traffic.

Name: Anonymous 2010-05-16 2:58

>>100
GO PLAY IN MY ANUS

Name: we !eHg13QwJnI 2010-05-22 15:29

u

Name: yiu !dJNToPBaGk 2010-05-22 15:30

100

Name: !eUgTSiCTIo 2010-06-29 15:29

jdsf

Name: ! !eUgTSiCTIo 2010-06-29 15:29

jdsfktd

Name: Anonymous 2010-06-29 15:34

>>102

Using dictionary words considered harmful.

Name: !GCiXE.XUpw 2010-06-29 15:35

jdfhtrhbsert

Name: !citto.FDb. 2010-06-29 15:43

dfhnrstjrtdsgg

testing tripcode

Name: !Adolf5oUwU!+jYVzvHITLErD3T 2010-06-29 15:45

adolf hitler?

Name: Anonymous 2010-06-29 15:48

>>107-109
Go play in traffic.

Name: !citto.FDb. 2010-06-29 15:52

sucess

Name: Anonymous 2010-06-29 17:47

Trip codes are for faggots.

Name: Anonymous 2010-06-29 20:56

>>112

Xarn is not a faggot, so back to /b/, please

Name: !OLdFag/jr2 2010-07-06 9:12

ohai der

Name: Anonymous 2010-07-06 9:14

>>113
Xarn is not defined by his tripcode. back to rotahall, please

Name: Anonymous 2010-07-06 14:06

>>113
o hai thar Xarn
(i see what you did there)

Name: Anonymous 2010-07-09 9:25

How do you make a custom one like yours, though?

Name: Anonymous 2010-07-09 12:58

Xarn is not a faggot
Xarn has admitted to his shameful sexual perversions openly on his blog.

Name: x y !!twzEE37BcXV2Hk6 2010-07-09 18:57

k

Name: !Nyoron4t6M 2010-07-13 0:47

o hi

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List