configuration/local/bin/twpcalc.sh
2015-08-27 06:34:48 +02:00

11 lines
167 B
Bash
Executable File

#!/bin/bash
# Reading input {{{
# Terminal
read -p "Alias: " alias_
read -s -p "Secret: " secret
echo -n "$secret$alias_" | shasum | xxd -r -p | base64 | colrm 17