Quantcast
Channel: How can I get a base64 encoded shaX on the cli? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 6

Answer by Gilles for How can I get a base64 encoded shaX on the cli?

$
0
0

If you have the command line utility from OpenSSL, it can produce a digest in binary form, and it can even translate to base64 (in a separate invocation).

echo -n foo | openssl dgst -binary -sha1 | openssl base64

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>