4 ms·
So you use hardened sha1 in radicle? It would be great to see this in the docs.
by ianopolous 3y ago
So you use hardened sha1 in radicle? It would be great to see this in the docs.
- cloudhead 3y agoEverything that is replicated on the network is stored as a Git object, using the libgit2[0] library. This library uses hardened SHA-1 internally, which is called sha1dc (for "detect collision"). Will add to the docs, good idea! [0]: https://github.com/libgit2/libgit2/blob/ac0f2245510f6c75db1b1e7af7ca01c15dec26bc/src/util/hash/sha1dc/sha1.c#L1745-L1756 https://github.com/libgit2/libgit2/blob/ac0f2245510f6c75db1b...