bug#7313: sha1sum etc, output in base64 (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Pádraig Brady |
---|---|
Subject: | bug#7313: sha1sum etc, output in base64 |
Date: | Tue, 02 Nov 2010 17:15:40 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
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 need for this, it also shows there are widely available tools to do it already.
cheers, Pádraig.
- bug#7313: sha1sum etc, output in base64, Caleb Cushing, 2010/11/02
- bug#7313: sha1sum etc, output in base64, Pádraig Brady, 2010/11/02
* bug#7313: sha1sum etc, output in base64,Pádraig Brady <=
- bug#7313: sha1sum etc, output in base64, Pádraig Brady, 2010/11/02
- Prev by Date:bug#7317: Bug in SLEEP command
- Next by Date:bug#7317: Bug in SLEEP command
- Previous by thread:bug#7313: sha1sum etc, output in base64
- Next by thread:bug#7317: Bug in SLEEP command
- Index(es):