Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
moonchild
on June 20, 2020
|
parent
|
context
|
favorite
| on:
Updating the Git protocol for SHA-256
> the SHA256 hashes would be unambiguously not SHA1 hashes, even when abbreviated
Not if your hash happens to not include an 'h'.
kelnos
on June 24, 2020
|
next
[–]
Not sure I follow. If the SHA1 hashes use [0-9a-f], and the SHA256 hashes use [h-zA-Z] (or something along those lines), there is never any overlap in characters.
rnestler
on June 20, 2020
|
prev
[–]
The current SHA-1 representation uses hexadecimal, so only contains 0-9 and a-f.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Not if your hash happens to not include an 'h'.