Re: How to get sha256 digest for jessie, without a dist-upgrade?
On 08/10/2017 06:08 PM, Neo wrote: > Hi folks > > How to get sha256 digest for jessie, without a dist-upgrade? > I'd use sha256sum, but if you must use openssl, the version in jessie-security has sha256. > $ openssl version > OpenSSL 1.0.1t 3 May 2016> $ echo test | sha256sum > f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 - > $ echo test | openssl dgst -sha256 > (stdin)= f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 Even though sha256 is not listed in the openssl output, it works if it pass it to the command. try 'openssl list-message-digest-algorithms | grep SHA256'. I'd think that 1.0.2 supports it, since 1.0.1 does.
Re: How to get sha256 digest for jessie, without a dist-upgrade?
Hi. On Thu, Aug 10, 2017 at 11:08:41AM +0200, Neo wrote: > Hi folks > > How to get sha256 digest for jessie, without a dist-upgrade? By using sha256sum from coreutils. Why would you ever need openssl for that? Reco
How to get sha256 digest for jessie, without a dist-upgrade?
Hi folks How to get sha256 digest for jessie, without a dist-upgrade? stretch: openssl version OpenSSL 1.1.0f 25 May 2017 Message Digest commands (see the `dgst' command for more details) blake2b512blake2s256gost md4 md5 rmd160sha1 sha224 sha256sha384sha512 jessie: openssl version OpenSSL 1.0.2l 25 May 2017 Message Digest commands (see the `dgst' command for more details) md4 md5 rmd160sha sha1 Thank you Tom