configuration/local/bin/twpcalc.sh
Felix Van der Jeugt 9eb9e612c9 more script updates
2016-01-10 19:55:58 +01:00

11 lines
193 B
Bash
Executable File

#!/bin/bash
# Reading input {{{
# Terminal
read -p "Alias: " alias_
read -s -p "Secret: " secret
echo -n "$secret$alias_" | shasum | sed 's/../\\\\x&/g' | xargs echo -e | base64 | colrm 17