Questions tagged [file-encryption]

The process of encrypting individual files on a storage medium and permitting access to the encrypted data only after proper authentication is provided.

Filter by
Sorted by
Tagged with
1
vote
1answer
45 views

How can a pdf file have two passwords?

I receive emails from my bank with password protected PDF files, and they provide two passwords - either xxxx or yyyy. How is this possible?
3
votes
2answers
106 views

What is the reason for iOS per-file key encryption?

I know that apple provides per-file key encryption .i.e. a separate encryption key for each file exists on the apple device. The Hardware Key and the Passcode are required to generate these random ...
2
votes
1answer
114 views

Can I use my own implementation of a widely used, supposedly secure cryptographic algorithm for securing data at rest?

I know you shouldn't roll your own crypto and generally its not a good idea to implement (and then deploy) any extensively tested and recommended algorithms by yourself either. I have already seen ...
0
votes
1answer
41 views

Client-side File Encryption With Synchronized Sharing

I have a particular cryptographic scenario where the following activities take place and conditions must be met: User A is part of an organisation which shares all data storage internally. User A ...
1
vote
2answers
94 views

What program can Decrypt specific a Folder/Files during Windows Boot/Loading? (Windows)

I've been looking into Encryption of my data for some time now; I've decided to move ahead with VeraCrypt for encryption all of my partitions (I have 2 disks in 1 laptop) except for the OS (C:) ...
0
votes
0answers
39 views

ASP.NET Core Data Protection for long term storage

I'm looking into upgrading a .NET software application that encrypts files. At the moment it is doing that by using a fixed key and a specific algorithm in the codebase. Moving the key to a safer ...
1
vote
3answers
744 views

How to eliminate data leaks when accessing encrypted data?

Goal: Encrypt/secure and access sensitive files (PDFs, etc.) locally. Method 1: Store files in a VeraCrypt file-hosted volume (container). Concern: Data Leaks. When mounting and reading files from a ...
18
votes
6answers
5k views

Strongest file encryption available

I know nothing about cryptography. How does one encrypt a file in the strongest possible way, such that it can be accessed some years later? I prefer that it should be fairly resistant from brute ...
0
votes
0answers
61 views

Decrypting a file knowing only the password

I have encrypted a file using a program with a password and would like to decrypt it on another device just with the password. Is there any software that takes the password, runs it through all key ...
0
votes
0answers
3 views

Does encrypting different versions of the same file or folder with the same key make it easier for hackers to attempt the decoding? [migrated]

Assuming the hacker has access to the ciphers of each of the versions, will it help him/her to decipher the original file(s) by doing some sort of comparison of the ciphers?
0
votes
0answers
48 views

How does JtR crack password protected documents?

I've been trying to figure this out using an encrypted zip file as an example. I am quite familiar with the idea that PBKDF2 creates a key drivered form a password and then that key is used to ...
0
votes
0answers
39 views

Attacked by ransomware that has encrypted and renamed all files with a .makop extension [duplicate]

I've spent several hours searching the internet to see if anyone has cracked this encryption yet, but without any luck. I don't want to reward criminals for their activity, but I do have a few files ...
1
vote
1answer
105 views

If someone steals my unencrypted, password protected laptop, would they be able to get into my Google account?

I have a laptop with Ubuntu 20.04 operating system. I am logged into my Chrome browser using my Google account. This means, every time I open my browser, I am already logged into all the Google ...
9
votes
4answers
2k views

How to quickly find out what the threat nature of a password protected archive is without getting infected?

I have recently received an e-mail from an existing support group e-mail box with the following characteristics: written in the language used in company's HQ (different from English which is the ...
0
votes
0answers
50 views

Password Vault Storing Passwords

I've been working on just a fun side project in C++ to practice encryption algorithms and I sort of ran into a bit of a roadblock of sorts. To summarize the project I have a text file of encrypted ...
0
votes
1answer
65 views

Encrypting Files With A Certificate

I am hunting for a solution where I can send someone encrypted files and a digital certificate that allows them to open the file. The reason for doing it this way is because: I don't want to keep ...
2
votes
1answer
3k views

openssl vs gpg for file based encryption? Pros vs cons for security?

I want to encrypt a tar archive and optionally a block file system (akin to DMG image). Does anyone know the pros vs cons of encrypting each with OpenSSL vs GPG? I ask because some have stated that ...
2
votes
3answers
136 views

Folder level encryption on a Windows 10 Pro laptop

Most of the stuff on my laptop is benign; and the hassle of full disk encryption is not worth it. On the other hand, one or two folders I would love to encrypt and password protect. What's the best ...
2
votes
3answers
228 views

Should I chunk or not for AES-GCM file encryption

New to file encryption. Need to use AES-GCM for file encryption, can't change the alg. Heard about the max plain text size should be 64GB with same key and IV pair. Environment is python 3 with ...
0
votes
0answers
52 views

How secure is /dev/stdin in UNIX systems?

Is decrypting secrets with ccrypt and piping the result via stdin to openvpn secure? I've written the following alias to start an openvpn client more easily than before: sudo bash -c 'cd ...
0
votes
0answers
40 views

Recovery of files from a zip containing a directory (unencrypted) and 3 files (encrypred - ZipCrypto Deflate), possibe use of bkcrack?

I have a zip file, Example.zip consisting of a directory Example and three files *.dat. I can see the names of all 3 files. The dat files are encrypted (ZipCrypto Deflate). I'm interested to know if I ...
40
votes
8answers
7k views

What is the attack scenario against which encrypted files provide protection?

There are a couple of files / tools which provide file-level encryption. I guess PDF and ZIP are probably the most commonly known ones. I wonder what scenario they actually help with or if it just is ...
1
vote
0answers
31 views

Is it possible to adjust the header size in eCryptfs?

If I understand it correctly, eCryptfs creates a file in the "lower" directory whose content is a header, plus the encryption of the file in the "upper" directory. But when I create an empty file in ...
0
votes
1answer
49 views

PGP encryption passphrase

We are using Symantec PGP encryption for AIX to encrypt/decrypt files. Keys are generated with passphrase and the passphrase are set by the business users. The IT admin is responsible to perform the ...
0
votes
1answer
65 views

Using GPG or PGP, is there a way to give another user (or key) access to decrypt a file for a limited time only? [duplicate]

I want to share encrypted files with someone else however it's only for a short time only. What is the best way to do this? More background: I'd like to add more people to be able to decrypt the ...
0
votes
1answer
51 views

Add security to documents uploaded?

We're locally testing anasp.net application that will let a user upload documents. The app is similar to a jobs site like monster.com, but with sensitive data. The app works great locally, and now ...
0
votes
0answers
27 views

John the Ripper is not showing what the acutal unhashed password is

I am using John the Ripper to crack a password hash for a school assignment and I am having some issues. John says that the password hash has been cracked but I cannot see what the actual password for ...
0
votes
1answer
56 views

File encryption based on directory table

I have a proposed method to encrypt files (I don't know if it is actually applied or discussed). The way I suggest is to use a sector to sector table in a random manner, So if a specific sector of ...
3
votes
1answer
1k views

EncFS vs EFS advantages for Dropbox-seamless encryption

I am considering a solution for securing my private data in Dropbox. In spite of OneDrive, MEGA and AmazonCloud are also being considered but now I put my focus on Dropbox as the most feature-rich of ...
0
votes
0answers
39 views

Is it better to mask an encryption key or share it directly?

Given a system that shares files for client-side decryption where the server does not know the encryption keys (just stores them in an encrypted form), is it - when sharing a file with a non-user - ...
2
votes
1answer
71 views

Is AES the recommended symmetric cipher for production level software?

I was considering developing an application level software for file encryption after stress testing many of my implementations of popular symmetric ciphers. I would love to support multiple ...
1
vote
1answer
80 views

Integrity attacks and encryption at rest

The AES-GCM algorithm provides not only confidentiality but also integrity. I understand that integrity is an important part of security in overall, but whenever I think in terms of possible attacks, ...
0
votes
0answers
67 views

Encrypt files transparently from applications

Many CLI applications store or need secrets in plaintext files. I'm searching preferably for a tool, or a methodology, to encrypt those files without the application knowing. What do I mean by that : ...
0
votes
0answers
90 views

Securely encrypt and decrypt files via PBE in Java (Jasypt seems insecure)

This post has been MOVED to StackOverflow due to lack of answers on Info Security: https://stackoverflow.com/questions/60960802/securely-encrypt-and-decrypt-files-via-pbe-in-java-jasypt-seems-...
9
votes
5answers
15k views

How secure are the password files used by Password Safe and Password Gorilla?

Password Safe and Password Gorilla are both programs to manage passwords. Both store a list of user passwords in a file, which is encrypted using a master password. They use the same file format, so ...
1
vote
1answer
92 views

Encrypting file stores in s3

I am developing a system for storage of medical records. A person could upload image(s) or file(s). Since it is a medical record , it needs to be stored in encrypted form.Also I want that the files or ...
0
votes
0answers
54 views

Best approach to encrypt files on servers with AES-128

If you have the follows requirements: a list of files on the server file system to be encrypted / decrypted a database table named T_FILE_REPO in which the files are registered (id, name, ...) a ...
0
votes
0answers
27 views

When using Encryption that produces random memory/storage can you randomly input memory/data that reads as known file types?

I refer to this question's answer, the second part mentioning the random data, and no headers or anything, including files that are recognizable. Reading the answer just made me think adding random ...
0
votes
1answer
65 views

Best way to encrypt ~1GB of data programatically? [duplicate]

Let's say I have aggregated ~1GB of data in memory into a string or corresponding data structure. My goal is to encrypt this data before sending it over the wire. With my limited understanding of ...
0
votes
1answer
68 views

Algorithm to implement symmetric encryption in VB.Net for Windows and in Swift for iOS

I need to implement symmetric encryption to enable secure communication between one program running on a Windows machine (to be written in VB.Net) and an app running on an iOS device (to be written in ...
-1
votes
2answers
74 views

Disk encryption vs encrypted file container [duplicate]

Is there any difference between disk encryption and encrypted file container in terms of security? Which one is better?
25
votes
3answers
10k views

Is EncFS secure for encrypting Dropbox?

I've encrypted my Dropbox folder with EncFS according to a few tutorials I found on the web, advocating this approach. But I've found the following critical statement concerning EncFS's security in ...
1
vote
2answers
92 views

How to set up full disk file encryption?

I want to set up my company's laptops in a way that all files created on these laptops can only be read by these laptops. If it is copied to a USB then that file is only readable when plugging that ...
1
vote
1answer
215 views

Encryption strength veracrypt vs keepass?

can you please explain the strength of veracrypt and keepass compared? Whats theoretically easier to break if both use the exact same password for their respective containers, the vcrypt or keepass ...
0
votes
0answers
112 views

Possible to restore LUKS header from partition that uses the exact same password and keyfile?

I was in Windows 10 and it told me I needed to Initialize Disk so I clicked it and now my LUKS header has been overwritten. I created my encrypted partitions in Linux with cryptsetup command. However, ...
0
votes
0answers
124 views

How to determine what cipher I encrypted a file with?

Years ago I had a bunch of bitcoin in a wallet that I encrypted. This was back when bitcoin was like $0.20 or $0.30 each. At one point I couple hundred of them but didn't know what to do with them. I ...
3
votes
0answers
65 views

How can we protect encrypted files and directories from being fingerprinted when stored on online storage services?

Assuming that online storage providers are considered untrusted, if files and directories are encrypted, how can these be protected against fingerprinting? The files are encrypted using rclone's ...
2
votes
3answers
539 views

Protecting personal documents in cloud

I want to keep my personal documents in cloud e.g. Dropbox. But I want some of my documents be encryted and password protected, such that: 1. even if my Dropbox gets hacked, those documents still have ...
1
vote
2answers
287 views

Simple open-source file encryption tool

I want to securely encrypt files, with an open algorithm. So, i've constructed the simple openSSL shell command. How secure is it? function aes-enc() { openssl enc -aes-256-cbc -e -in $1 -out "$1....
20
votes
9answers
15k views

Keep encrypted files in sync on a cloud service, without having to upload an entire encrypted volume each time

Situation: User has several folders worth of GBs which they want to keep in sync on a cloud service (for example Mega or Dropbox) in an encrypted form; User does not want to sync a single encrypted ...

1
2 3 4 5
9