PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

BASH Sha512 Password Hashing TUT

Go down

BASH Sha512 Password Hashing TUT Empty BASH Sha512 Password Hashing TUT

Post by jamied_uk 13th June 2016, 21:06

Code:
doveadm pw -s SHA512-CRYPT -t string

man doveadm

echo -n foobar | sha256sum

echo -n foobar | sha512sum

https://stackoverflow.com/questions/3358420/generating-a-sha256-from-the-linux-command-line

jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

BASH Sha512 Password Hashing TUT Empty Re: BASH Sha512 Password Hashing TUT

Post by jamied_uk 13th June 2016, 21:50





Code:
#!/bin/bash
# type ./test.sh
clear
echo Please Type String / Password To Hash
read arg1
echo You Typed: $arg1
echo Please Type sha512sum, sha512 or sha256 To Select Type
read arg2
echo You Chose Type: $arg2
# sha512sum
echo -n $arg1 | $arg2
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum