Bitcoin Forum
May 03, 2024, 08:44:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to encrypt my folder?  (Read 128 times)
PastorNick (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 35


View Profile
August 18, 2021, 06:16:32 AM
Merited by Welsh (1), kxwhalexk (1)
 #1

hey, sir. I have a file that needs to be encrypted, and it contains some important things. Do you have any advice? How can I save this folder?
I found some methods, but none of them seem to be specific to folders...

thanks everyone!
1714769048
Hero Member
*
Offline Offline

Posts: 1714769048

View Profile Personal Message (Offline)

Ignore
1714769048
Reply with quote  #2

1714769048
Report to moderator
1714769048
Hero Member
*
Offline Offline

Posts: 1714769048

View Profile Personal Message (Offline)

Ignore
1714769048
Reply with quote  #2

1714769048
Report to moderator
1714769048
Hero Member
*
Offline Offline

Posts: 1714769048

View Profile Personal Message (Offline)

Ignore
1714769048
Reply with quote  #2

1714769048
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714769048
Hero Member
*
Offline Offline

Posts: 1714769048

View Profile Personal Message (Offline)

Ignore
1714769048
Reply with quote  #2

1714769048
Report to moderator
1714769048
Hero Member
*
Offline Offline

Posts: 1714769048

View Profile Personal Message (Offline)

Ignore
1714769048
Reply with quote  #2

1714769048
Report to moderator
bakasabo
Legendary
*
Offline Offline

Activity: 2310
Merit: 1178



View Profile
August 18, 2021, 06:21:10 AM
 #2

If you want to encrypt, hide and etc, I would suggest to use TrueCrypt or VeraCrypt software. This wont really help if you want to encrypt and hide it from police and their IT/hacking departments specialists. But in most cases that will do. Just use strong password when you encrypt and it will takes lots of time and resources to bruteforce it.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
August 18, 2021, 06:34:48 AM
Merited by pooya87 (3), Welsh (2), ABCbits (1), tranthidung (1)
 #3

There are dozens of ways to do this...
Personally, i'd think the easyest way to encrypt a file/folder would be:

In case you're encrypting a folder, i'd personally create a tar.gz or a zip from that folder, so i'd end up with a file.

Then i'd use gpg for asymetric encryption: There are dozens of tutorials, instead of writing out all commands, i just googled and here's the first link: https://www.howtogeek.com/427982/how-to-encrypt-and-decrypt-files-with-gpg-on-linux/

An alternative i'd use would be to use openssl directly for symmetric encryption (you'll be prompted for a password)
openssl aes-256-cbc -a -salt -in yourfile.txt -out yourencryptedfile.txt.enc
and to decrypt:
openssl aes-256-cbc -d -a -in yourencryptedfile.txt.enc -out yourfile.txt.new

Don't get me wrong, bakasabo's advice is equally valid (i do think truecrypt is no longer in active development, so i'd go with veracrypt). I'm just detailing what i would do if i was faced with your problem.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
PastorNick (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 35


View Profile
August 18, 2021, 07:11:03 AM
 #4

If you want to encrypt, hide and etc, I would suggest to use TrueCrypt or VeraCrypt software. This wont really help if you want to encrypt and hide it from police and their IT/hacking departments specialists. But in most cases that will do. Just use strong password when you encrypt and it will takes lots of time and resources to bruteforce it.
Thank you for your help, I just want to encrypt some of my personal important files, such as passwords. I want to store them in a folder. Of course, the folder I want to encrypt does not violate the law, and the things I want to encrypt are worthless to hackers.

~
Thanks, I will try it later. I have used Kleopatra for asymmetric encryption, but I think it can only encrypt messages.
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
August 18, 2021, 07:22:36 AM
 #5

--snip--
Thanks, I will try it later. I have used Kleopatra for asymmetric encryption, but I think it can only encrypt messages.


So you're using windows and have Kleopatra installed.
IIRC, you should be able to encrypt files with Kleopatra aswell, that being said it has been a long time since i used this tool, so i might be mistaking.

An other option would be to just install openssl. It's open source and the sourcecode can be downloaded here: https://www.openssl.org/source/
Or if you prefer a binary, so you don't have to compile it yourself, you can look over here: https://wiki.openssl.org/index.php/Binaries

But like i said previously, there are dozens of ways to solve your question...Some might be superior to others, some might be using unmaintained code, some might be ideal to use in scripts, some might have a nice gui, some might use only tools available in a standard windows distribution... Many roads lead to rome for this one Smiley

A thirth option just popped in my mind (i'm sure many more options will come up over the day): you could use 7zip and just create a password protected archive right away Smiley. I think similar tools offer a similar option (i know winrar used to include encryption in it's gui aswell, same for winzip... DYOR before using these features tough, check if there weren't any vulnerability's found in the encryption mechanism before using them)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6372


Looking for campaign manager? Contact icopress!


View Profile
August 18, 2021, 07:30:42 AM
Last edit: May 14, 2023, 03:10:36 PM by NeuroticFish
Merited by pooya87 (2)
 #6

I guess that what @mocacinno has shown is probably perfect.

However, as a super-simple method with similar results, isn't 7zip with AES 256 encryption good enough? Imho it's much easier to use...


.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
nakamura12
Hero Member
*****
Offline Offline

Activity: 2268
Merit: 669


Bitcoin Casino Est. 2013


View Profile
August 18, 2021, 07:45:59 AM
 #7

I guess that what @mocacinno has shown is probably perfect.

However, as a super-simple method with similar results, isn't 7zip with AES 256 encryption good enough? Imho it's much easier to use...
7zip is easy to use and it does use that encryption type. If op is not satisfied with the result then why not use multiple encryption app like winrar too. To make it more secured, encrypt the file using 7zip with password enabled then encrypt it using winrar and add password too then back to 7zip to encrypt it again with password.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6372


Looking for campaign manager? Contact icopress!


View Profile
August 18, 2021, 10:06:56 AM
 #8

Easy, but takes time and annoying if you want to update the file inside encrypted archive.

Whenever I needed that I unpacked everything, updated the file, packed everything again... and it was not slow.
But again, this is not the "pro" solution, I clearly know that.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
PastorNick (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 35


View Profile
August 18, 2021, 02:11:41 PM
 #9

Easy, but takes time and annoying if you want to update the file inside encrypted archive.
Whenever I needed that I unpacked everything, updated the file, packed everything again... and it was not slow.

As long as the directory size is small or doesn't have much file. But we don't know what kind of directory OP wants to encrypt.

I have encrypted my files with 7-zip before asking the question, sorry for not mentioning in my topic, 7-zip is enough for me. But I want to find and learn some other encryption methods, thank you for sharing.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!