diff --git a/bashpass.sh b/bashpass.sh index 2ed7a62..8595224 100755 --- a/bashpass.sh +++ b/bashpass.sh @@ -1,5 +1,20 @@ #!/bin/bash +# Colors +RED='\033[0;31m' +LRED="\033[1;31m" +BLUE="\033[0;34m" +LBLUE="\033[1;34m" +GREEN="\033[0;32m" +LGREEN="\033[1;32m" +YELLOW="\033[1;33m" +CYAN="\033[0;36m" +LCYAN="\033[1;36m" +PURPLE="\033[0;35m" +LPURPLE="\033[1;35m" +BWHITE="\e[1m" +NC='\033[0m' # No Color + ## Functions shaStatic(){ @@ -8,7 +23,7 @@ shaStatic(){ echo echo "${charSize} character password generated using SHA256 with date" echo "***************************************************" - date +%s | sha256sum | base64 | head -c ${charSize} ; echo + date +%s | sha256sum | base64 | head -c ${charSize}; echo echo "***************************************************" }