CPID Checksum algorithm.

Message boards : Web interfaces : CPID Checksum algorithm.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Steve Waring

Send message
Joined: 15 Mar 06
Posts: 12
United Kingdom
Message 12099 - Posted: 16 Aug 2007, 18:43:27 UTC

Do CPIDs contain a checksum? If so, what is the algorithm for validating them?

I would like to be able to validate a CPID before using the interface to retrieve the XML data. Of course, just because the CPID is valid does not mean it exists.

ID: 12099 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14732
Netherlands
Message 12101 - Posted: 16 Aug 2007, 19:44:41 UTC

See CrossProjectID:

Each host generates an internal cross-project ID, which is the MD5 of the concatenation of its domain name, IP address, free disk space, and a timestamp. This is reported to the projects to which the host is attached. The projects convert it to an external cross-project ID by hashing it with the owner's email address (this is intended to prevent spoofing). The external ID is exported in statistics files.

Ok, that doesn't answer your question about the checksum, but it asks the question how a CPID can't exist.
ID: 12101 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14732
Netherlands
Message 12102 - Posted: 16 Aug 2007, 22:18:55 UTC

I checked with David Anderson. He says CPIDs have no checksums.
ID: 12102 · Report as offensive
Profile Steve Waring

Send message
Joined: 15 Mar 06
Posts: 12
United Kingdom
Message 12170 - Posted: 20 Aug 2007, 23:44:56 UTC - in response to Message 12102.  

I checked with David Anderson. He says CPIDs have no checksums.

Many thanks.
ID: 12170 · Report as offensive

Message boards : Web interfaces : CPID Checksum algorithm.

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.