Md5.rednoize.com has been updated yesterday. The web site features a new design and has gained support for sha1 hashes. The interface has been ajaxified and the amount of hashes stored in the database has been increased again. The database stores now about 35,000,000 md5/sha1 hashes with their plain text counterpart. And md5.rednoize.com got a new logo as well ;)
The “URL API” has not been changed. You still may use the parameter “p” for plain text and “xml” for xml output. The new optional url parameter “s” defines the search mode (currently supported are md5 and sha1).
When using a uniqie index on a text field in mysql, the column collation setting is very important. The collation settings of a column does not only affect sorting and comparsion, but also unique indexes. So you can not insert "a" and "A" into a table that has a unique index on a column that has a case-insensitive collation. The mysql manual about collations: "A character set is a set of symbols and encodings. A collation is a set of rules for comparing characters in a character set."
Here is an example:
The column text in table text1 has a case-sensitive collation (_cs suffix), the column in text2 has a case-insensitive collation (_ci suffix).
`text` varchar(50) character set latin1 collate latin1_general_cs NOT NULL default '',
UNIQUE KEY uniq_text (text)
) ENGINE=MyISAM
;
INSERT INTO text1 (text) VALUES ('a');
Query OK, 1 row affected (0.00 sec)
INSERT INTO text1 (text) VALUES ('A');
Query OK, 1 row affected (0.00 sec)
CREATE TABLE text2 (
`text` varchar(50) character set latin1 collate latin1_general_ci NOT NULL default '',
UNIQUE KEY uniq_text (text)
) ENGINE=MyISAM
;
INSERT INTO text2 (text) VALUES ('a');
Query OK, 1 row affected (0.00 sec)
INSERT INTO text2 (text) VALUES ('A');
ERROR 1062(23000): Duplicate entry 'A' for key 1
Constraints are also affected by collation:
The queries on table text1 give different results (a and A), the two queries on table text2 result in the same row twice (a).
HipHop-Battles.com Offers rappers, beatboxers and graffiti artists a platform fo
r internet MP3 and graphic battles. Features MP3 upload, download, a multilanguage system, and a forum.