BelfordZ / starIPs

The * Improvement Proposal repository.
Apache License 2.0
6 stars 0 forks source link

Simplify or downgrade id function #7

Open meowsbits opened 5 years ago

meowsbits commented 5 years ago

Is your feature request related to a problem? Please describe.

re: name -> hash as an identifier scheme. OpenSSL only began support for SHA3 in 2018-09. There are no security reasons for the hashing pattern, we just need unique IDs. Also SHA3-512 is kind of slow.

I think we should try to make the process of getting an id and the id itself as simple as possible.

Note also that since we'd be using a tiny substring of the hash, there's really no point in the extra bits (512 is overkill).

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Rel #5

$ openssl version
OpenSSL 1.1.0g  2 Nov 2017

:warning: https://github.com/BelfordZ/starIPs/blame/master/README.md#L17 != Resulting \*IP Name:ECIP-cebf0a05``

screenshot_20190304_075643

https://duckduckgo.com/?q=sha512+Byzantium+Upgrades+on+block+123123&t=canonical&ia=answer

$ echo -n "Byzantium Upgrades on block 123123" | openssl sha512 | tr -d '\n' | tail -c8
a3b1f29c

screenshot_20190304_074934

https://duckduckgo.com/?q=md5+Byzantium+Upgrades+on+block+123123&t=canonical&ia=answer

$ echo -n "Byzantium Upgrades on block 123123" | openssl md5 | tr -d '\n' | tail -c8
8300750f