close 7313
stop
(triaging old bugs)
Hello,
On 02/11/10 11:15 AM, Pádraig Brady wrote:
On 02/11/10 16:20, Pádraig Brady wrote:
env printf $(sha1sum file | sed 's/ .*//; s/\(..\)/\\x\1/g') | base64
openssl dgst -sha1 -binary $file | openssl enc -base64
And also:
sha1sum FILE | xxd -r -p
On 02/11/10 13:16, Caleb Cushing wrote:
I'd like to be able to do something like this
sha1sum --base64
and instead of getting a hex representation get a base64 representation.
An alternative might be
sha1sum --raw | base64
obviously this applies to md5sum, sha512sum, etc
This is
On 02/11/10 16:20, Pádraig Brady wrote:
env printf $(sha1sum file | sed 's/ .*//; s/\(..\)/\\x\1/g') | base64
I just dug out an old script of mine that did
low level manipulations like this, and I had used:
openssl dgst -sha1 -binary $file | openssl enc -base64
While that does show there is a