InChIKey collision resistance: an experimental testing

InChIKey collision resistance: an experimental testing
Authored by:
Igor Pletnev
Andrey Erin
Alan McNaught
Kirill Blinov
Dmitri Tchekhovskoi
Steve Heller

Abstract

InChIKey is a 27-character compacted (hashed) version of InChI which is intended for Internet and database searching/indexing and is based on an SHA-256 hash of the InChI character string. The first block of InChIKey encodes molecular skeleton while the second block represents various kinds of isomerism (stereo, tautomeric, etc.). InChIKey is designed to be a nearly unique substitute for the parent InChI. However, a single InChIKey may occasionally map to two or more InChI strings (collision). The appearance of collision itself does not compromise the signature as collision-free hashing is impossible; the only viable approach is to set and keep a reasonable level of collision resistance which is sufficient for typical applications. We tested, in computational experiments, how well the real-life InChIKey collision resistance corresponds to the theoretical estimates expected by design. For this purpose, we analyzed the statistical characteristics of InChIKey for datasets of variable size in comparison to the theoretical statistical frequencies. For the relatively short second block, an exhaustive direct testing was performed. We computed and compared to theory the numbers of collisions for the stereoisomers of Spongistatin I (using the whole set of 67,108,864 isomers and its subsets). For the longer first block, we generated, using custom-made software, InChIKeys for more than 3 × 1010 chemical structures. The statistical behavior of this block was tested by comparison of experimental and theoretical frequencies for the various four-letter sequences which may appear in the first block body. From the results of our computational experiments we conclude that the observed characteristics of InChIKey collision resistance are in good agreement with theoretical expectations.

Information
Content Type OER
Uploaded By Andrew Cornell
DOI https://doi.org/10.1186/1758-2946-4-39
Content Link https://jcheminf.biomedcentral.com/track/pdf/10.1186/1758-2946-4-39
License Open Access
Content Status publish
Number of Comments No Comments
Date Published December 20, 2012
Content Tags Algorithm, Audience, Content type, Document, English, File Type, Graduate, HTML, InChI Algorithm and Description, Language, PDF, Publication, Researcher, Software, ePub