3 ms·
echo -n "password" | sha1sum then to remove the sha1sum's trailing spaces and dash: | sed 's/\s.*$//' and then to uppercase it, as ianlevesque showed: | tr '[
by Felk 9y ago
echo -n "password" | sha1sum
then to remove the sha1sum's trailing spaces and dash: | sed 's/\s.*$//'
and then to uppercase it, as ianlevesque showed: | tr '[:lower:]' '[:upper:]'