You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dag Sverre Seljebotn edited this page Apr 1, 2012
·
4 revisions
What hashes to use
We decided to use SHA1 (180-bit) hashes with base64 encoding (modified
to be file-system safe; with -, _ as extra non-alphabet characters, we
do not need padding).
This allows our hashes to be shorter than git, and, more importantly,
visually distinguishes the hashes from those of git.
Hashes are easily computed using the hashlib and base64 Python
modules.