Creating a sha512 from a salt and a cleartext in BASH (using pthon)

Simple one-liner

 

$>python -c ‘import hashlib; print hashlib.sha512(“1234123123”).hexdigest(); ‘

 

can be easily packaged in a bash script.

nJoy;-)

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.