Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use collision-detecting SHA-1 algorithm #31

Open
zombiezen opened this issue Dec 13, 2023 · 0 comments
Open

Use collision-detecting SHA-1 algorithm #31

zombiezen opened this issue Dec 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@zombiezen
Copy link
Member

These packages use the crypto/sha1 package, which mostly gives the same hashes as Git. However, the actual algorithm that Git uses is "sha1dc" (source). github.com/pjbgf/sha1cd seems to be a Go implementation of this algorithm, but I'm unsure of its reliability.

@zombiezen zombiezen added the bug Something isn't working label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant