commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Don't copy trailing '=' or use head -c to limit to desired length.
There is 1 alternative - vote for the best!
Of course you will have to install Digest::SHA and perl before this will work :)
Maximum length is 43 for SHA256. If you need more, use SHA512 or the hexadecimal form: sha256_hex()
If you can do better, submit your command here.
You must be signed in to comment.