-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
encrypt.sh
77 lines (67 loc) · 2.02 KB
/
encrypt.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/bash
clear
apt-get update && apt-get upgrade -y && apt-get install gnupg -y
clear
sleep 0.5
echo -e "\e[1;32m"
echo "---------------------------------------------------------------------------------------"
echo " o__ __o__/_ o "
sleep 0.5
echo " <| v <|> "
sleep 0.5
echo " < > < > "
sleep 0.5
echo " | \o__ __o __o__ \o__ __o o o \o_ __o | "
sleep 0.5
echo " o__/_ | |> /> \ | |> <|> <|> | v\ o__/_ "
sleep 0.5
echo " | / \ / \ o/ / \ < > < > < > / \ <\ | "
sleep 0.5
echo " <o> \o/ \o/ <| \o/ \o o/ \o/ / | "
sleep 0.5
echo " | | | \\ | v\ /v | o o "
sleep 0.5
echo " / \ _\o__/_ / \ / \ _\o__</ / \ <\/> / \ __/> <\__ "
sleep 0.5
echo " / \o/ "
sleep 0.5
echo " o | "
sleep 0.5
echo " __/> / \ "
sleep 0.5
echo "-----------------------------------------------------------------------------------"
sleep 1.5
echo
echo
echo " YOUTUBE: MR IDEAL"
sleep 1
echo " YOUTUBE: MR IDEALHAT"
echo
echo
sleep 1
echo "--------This is a simple Encryption/Decryption Tool--------"
echo
sleep 0.5
echo "Choose any one"
choice="Encrypt Decrypt"
select option in $choice; do
if [ $REPLY == 1 ]
then
echo "Encryption started"
echo "Please Select file: "
read file;
gpg -c $file
exit
elif [ $REPLY = 2 ]
then
echo "Decryption started"
echo "Select file: "
read file2;
echo
gpg -d $file2
exit
else
echo "I did not catch that"
exit
fi
done