Open gdevenyi opened 2 weeks ago
As mentioned in https://github.com/zyedidia/micro/issues/3486#issuecomment-2380978353 it would be nice to directly support the generic *.sha
(chosen for the micro
artifacts :wink:) file extension for an arbitrary sha
hash...may it be sha1
, sha224
, sha256
, sha384
or sha512
.
The length of the hash should be sufficient enough to identify the respective sha#sum
for validation, in case the core libraries don't do it themself.
The following hash functions are pacakged in coreuitls:
sha1sum
sha224sum
sha256sum
sha384sum
sha512sum
shasum
in addition there is the oldermd5sum
They all follow the same structure/format.
I imagine if more than one is available there would be a rank-ordered preference.