pandora
pandora copied to clipboard
Graph naming and md5
-
On indexing a pan PRG, could we give it a name eg with https://github.com/concentricsky/python-randomnames - much easier to refer to graphs that way
-
Maybe store in header? Also Md5?
-
It would be very valuable to be able to make a sub index of just a subset of local prgs, eg those present in at least one of a set of samples
Assigning to @rffrancon just so he sees it.
Ooh, sub index could just add an adjective to the name. Eg green angry rocket is subgraph of angry rocket
MD5 is a failed hash function that should never be used again (see: wikipedia):
One basic requirement of any cryptographic hash function is that it should be computationally infeasible to find two non-identical messages which hash to the same value. MD5 fails this requirement catastrophically; such collisions can be found in seconds on an ordinary home computer.
I suggest SHA256.
How will we use graph names?
Use graph names to refer to graphs. Easier to talk when I get back. Provides a human memorable way to refer to them "which e coli graph". Imagine we have a graph that has a considerable lifetime, and is referred to often. A long int/hash value is definitive, but maybe harder to use. Anyway, can discuss on my return.