forked from micheleMM/N-O-D-E.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
encrypt.html
129 lines (87 loc) · 6.64 KB
/
encrypt.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!--
=============================
_ ______ ____ ______
/ | / / __ \/ __ \/ ____/
/ |/ / / / / / / / __/
/ /| / /_/ / /_/ / /___
/_/ |_/\____/_____/_____/
=============================
-->
<!DOCTYPE html>
<html>
<head>
<title>N O D E</title>
<meta name="google-site-verification" content="KAh0wcTC2Anz5ea6Kq26RuhsiUKx5FD3D4HZAJdfaf4" />
<link rel="shortcut icon" href="images/avatar.png">
<link rel="alternate" href="https://n-o-d-e.net/rss/rss.xml" type="application/rss+xml" title="N O D E"/>
<link href='https://fonts.googleapis.com/css?family=Share+Tech+Mono' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen">
</head>
<body>
<div id="page">
<div id="content">
<!--HEADER SECTION -->
<div id="header"><pre>
<a class="node" href="http://n-o-d-e.net">
×× ×× ××××× ×××××× ××××××
××× ×× ×× ×× ×× ×× ××
×× × ×× ×× ×× ×× ×× ×××××
×× ××× ×× ×× ×× ×× ××
×× ×× ××××× ×××××× ××××××</a>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</pre>
</div>
<!--CONTENT -->
<div id="list">
<div class="title">
HOW TO ENCRYPT AND DECRYPT FILES ON MAC AND LINUX<br>
--
</div>
<div id="post">
<p>Here is a quick, simple way to encrypt and decrypt files on any Mac or Linux system using OpenSSL. You only need access to a terminal app and don't need to install anything extra.</p>
<div class="videowrapper">
<iframe src="https://www.youtube.com/embed/IUP-ks5vzX8?rel=0&showinfo=0" frameborder="0"></iframe>
</div>
<p class="description">
- <a href="https://www.youtube.com/watch?v=IUP-ks5vzX8" target="_blank">Youtube link</a><br>
- <a href="https://archive.org/download/encrypt_201612/encrypt.mp4" target="_blank">Archive.org mirror</a><br>
- <a href="https://archive.org/download/encrypt_201612/encrypt_201612_archive.torrent" target="_blank">Torrent</a><br>
- <a href="https://keybase.pub/nodefiles/encrypt.mp4" target="_blank">Keybase mirror</a>
</p>
<p class="subtitle">ENCRYPTING FILES</p>
<p>Step 1. In this example, both the unencrypted and encrypted files will be in your home folder. If you want to encrypt multiple files, it's easier if you compress everything into a single .zip file first. We'll be using a picture of a kitten.</p>
<p>Step 2. Open the terminal, type the following, then press enter. We'll go over what each section means:</p>
<span class="code">openssl aes-256-cbc -in ~/File.jpg -out ~/Encrypted.file</span>
<p>- "openssl". This tells the terminal to start the openssl utility.
- "aes-256-cbc". This is the encryption cipher we'll be using for this example.
- "-in ~/File.jpg". This tells openssl that the input file (the one you want to encrypt) is File.jpg. If you don't want to type out the full path for the file, you could just type "-in " (with a space it) and drag the file into the terminal.
- "-out ~/Encrypted.file". This is the output file you will get. You can name it pretty much anything you like, although it's worth noting that you may run into problems if you name the output file the same as the input.</p>
<p>Step 3. You'll now be asked to choose an encryption password, and after you press enter, you'll be asked to verify.</p>
<p>Step 4. Now if you check your home folder, you should have a new "Encrypted.file" file sitting there. This is an encrypted version of your original File.jpg. You can now delete the original file if you want.</p>
<p class="subtitle">DECRYPTING FILES</p>
<p>Step 1. In a terminal window, type the following and press enter:</p>
<span class="code">openssl aes-256-cbc -d -in ~/Encrypted.file -out ~/File.jpg</span>
<p>You'll notice that this is almost identical to the command for encrypting, except for a few things:</p>
<p>- "-d" is included which tells openssl you want to decrypt the file
- The "-in" file is now the Encrypted.File and the "-out" is the original File.jpg.</p>
<p>Step 2. Now enter your decryption password. Press enter and your original file will reappear in your home folder.</p>
<p class="subtitle">FINISHED</p>
<p>These encrypted files are perfect for emailing and uploading to services like dropbox, since they're cocooned and impenetrable to passive snooping.</p>
<p>--<br>
BY NODE</p>
</div>
</div>
<!--FOOTER SECTION -->
<div id="footer">
<pre>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</pre>
<div class="filter">
<a href="http://n-o-d-e.net">HOME</a>
<span class="footdogs"> × </span>
<a href="http://N-O-D-E.net/shop/">SHOP</a>
<span class="footdogs"> × </span>
<a target="_blank" href="http://patreon.com/N_O_D_E_">PATREON</a>
<span class="footdogs"> × </span>
<a target="_blank" href="https://github.com/N-O-D-E/N-O-D-E.net">GITHUB</a>
</div>
</div>
</body>
</html>