Talk:Tripcode
From Wikipedia, the free encyclopedia
[edit] PHP algorithm
I removed this section of the article because it's not encyclopedic content. Things like this belong in either in a Wikibook on PHP or a website about PHP.
Husky (talk page) 16:04, 5 October 2007 (UTC)
I reverted because it's about tripcodes, not PHP. A more accessible unambiguous description would be better (not all programmers know PHP), but having nothing at all is worse. Yuubi (talk) 03:46, 31 December 2007 (UTC)
- I'm with Husky. Implementation details are not encyclopedic (but an algorithm might be). Also, the code snippet is IMHO fairly cryptic -- it assumes previous knowledge about things like regexps and crypt(). I'm in favor of removing it again.
- magetoo (talk) 14:24, 28 February 2008 (UTC)
-
- It is encyclopedic as long as there is no better alternative. Removing the snippet doesn't improve the article at all. If you don't like it, feel free to explain the algorithm in another way. The usual case is that example code is easier to understand than a verbal description. There is probably a convention on this too! A comparison: articles about chemical compounds have many kinds of diagrams which assume previous knowledge about atoms, bindings, and conventional ways of depicting molecules, but no one is suggesting removing them altogether. The code snippet is short and illustrative because PHP is probably a very common language to implement the algorithm. I find it easy to understand since I have programmed in PHP. Wipe (talk) 16:41, 28 February 2008 (UTC)
I just replaced the broken PHP implementation of the algorithm with a description of the algorithm. hotaru2k3 (talk) 08:02, 22 May 2008 (UTC)
[edit] Keyspace
Wouldn't the keyspace be 2^56? Checking the crypt article reveals it accepts 8 bytes which it truncates to 7 bits each. Trevor (talk) 20:18, 13 June 2008 (UTC)

