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.

1
vote
1answer
67 views

Securing a file from getting stolen in an Android application?

I have a secret file which I cannot encrypt (because I am using it in a third party library) in an Android app which I want to protect from reverse engineering. The app will go public on Google Play ...
7
votes
2answers
248 views

Win10: Access other logged on users' memory

How easily can admin users access the data of other users' running processes on Windows 10? Especially webpages loaded by Chrome. Example Context Bob and Alice share a single Windows 10 ...
0
votes
1answer
66 views

What are `dd` input blocks? [closed]

I'm looking for a semi-technical explanation of "input blocks". When creating encrypted containers we use dd with "count=n", but I'm not sure of the difference between "count=0" and "count=1". The dd ...
2
votes
1answer
641 views

How to encrypt files on my SD card and still be able to access them on my phone seamlessly?

I'm looking for a way to encrypt files on my SD card in a way that I could still access them on my phone without huge delays if the file is big (100mb). Is there such a way to do it? I'm using ...
33
votes
7answers
58k views

Does password protecting an archived file actually encrypt it?

For example if I use WinRAR to encrypt a file and put a password on the archive how secure is it? I keep a personal journal and am thinking of doing this, or is there a better way? It's just one huge ....
4
votes
1answer
1k views

PDF file encrypted with my password, does that mean my password is stored in plaintext?

Every month, I receive an encrypted Portable Document Format (PDF) file with my payslip. I can open the file for reading with my password. Without providing my password, I cannot open the file at ...
2
votes
2answers
315 views

Should a password based AES CBC encrypted string have extra security?

For a Java application that I wrote, I take a password provided by a user and generate a 128-bit AES key from it using 100,000 iterations of PBKDF2-HMAC-SHA512 with a randomly generated 512-bit salt. ...
2
votes
2answers
156 views

Encryption before backing up to the Cloud

I have collected a lot of data (approx 3TB) in photos and videos over the years, I've been upgrading to newer and bigger hard disks and luckily they've not failed on me. I've realized that my access ...
1
vote
1answer
533 views

Outsmart Google Drive censorship with 7zip encryption

I use sometimes Google Drive for sharing large files. Google Drive is fast and user friendly. I don't wish that Google sees the content of my files and try to encrypt the filename and content. My ...
0
votes
1answer
101 views

lost key-files for encrypted files [closed]

I had encrypted a file on my computer but the computer got infected by a virus, so I reinstalled Windows on my computer. All my key-files have gone. Is there a way to recreate the lost key-files, as ...
6
votes
2answers
867 views

How safe (for privacy/security) is ZIP for file encryption of backups on a flash drive

I am looking to encrypt files on a flash drive (for backup) just in case it gets stolen or lost. I don't want to install any extra software like TrueCrypt but instead just use what's already there on ...
10
votes
2answers
2k views

Is ccrypt 'AES 256' file encryption fundamentally flawed

The unix/linux utility ccrypt claims to be a more secure replacement for the old unix crypt. However it seems to me that it has a fundamental flaw. When you encrypt a file using ccrypt it uses the ...
1
vote
1answer
110 views

Is an HMAC hash of plaintext data secure enough to use as a lookup index for encrypted data

I'm working on an app that will download files from external servers over https and store them on disk in a relatively secure way. Specifically, using a cryptographically unique IV, an AES256 cipher ...
0
votes
2answers
103 views

Program or method to create an encrypted bulk file container [closed]

I have several hundred gigs of data that I store on a NAS for my own usage. The NAS storage solution manages local encryption, however I am looking into cloud backup solutions for disaster recovery. ...
0
votes
1answer
85 views

What client side encryption algorithm/libraries should I use to make syncing easier?

I want to build a webapp and a sister mobile app (using react native) that uses client side encryption. The encryption would be for text entries written on a daily basis that the user could create and ...
1
vote
1answer
67 views

Encrypt/Isolate files of the Software

We want to create a secure email client based on Thunderbird source code and looking for a method to encrypt files or to isolate files from being stolen by some malware. and to avoid infecting pc via ...
1
vote
0answers
186 views

Decrypt to memory for editing

I am looking for a secure way to edit sensitive text data, using Git and Vim in the process. An ideal solution would be: clone the encrypted git repository into memory; decrypt into memory; do the ...
0
votes
2answers
243 views

encryption - how to secure files - decrypting exposes them on ssd

Let's say I have an encrypted file. Now I decrypt it but since my computer only has ssd, i decrypt it on the ssd drive. Say, I make changes or I finish using the decrypted file so I encrypt it again. ...
1
vote
1answer
163 views

Should I store my encrypted password's salt and initialization vector as clear text?

I'm encrypting some file with AES-256-CBC, and I'm planning to store the cipher text in a json file, with something like: { "data": "0123456789ABCDEF...", "salt": "00123ABCAABBCCDD...", "...
2
votes
1answer
90 views

What kind of encryption is this file using? It used to be plain text

I was collecting data and building a database from a mobile game on Android. Here's an after/before image. If I do CTRL + A and copy paste on the left side, all information gets copied to clipboard ...
0
votes
1answer
82 views

The data(username,passwords) stored in app bundle is safe in a jailbroken ios device

I was testing an iphone application in a jail broken device. I happend to see an intresting thing that the username and passwords are stored in a plist file and Cache.db file in preferences directory ...
0
votes
1answer
544 views

Encrypt entire CSV file, but decrypt only specific fields?

I have some data in CSV file, say data.csv with columns age, sex, country and status. Is it possible I could encrypt the entire CSV file some way which allows me to fetch only selected columns, say ...
29
votes
6answers
31k views

How secure is NTFS encryption?

How secure is the data in a encrypted NTFS folder on Windows (XP, 7)? (The encryption option under file|folder -> properties -> advanced -> encrypt.) If the user uses a decent password, can this ...
2
votes
3answers
1k views

Is it safe to store VeraCrypt or TrueCrypt container inside RAR - could this method corrupt the file?

I need to split my container into smaller files. So plan is this: I create RAR archive and let it split into about 10 smaller archives, no compression and I also add password for extra security. Is ...
2
votes
3answers
1k views

Susceptibility of 7z encrypted archive files to man in the middle attacks

Given: A file (assume 1 GB in size) is encrypted along with filenames using 7zip into a 7z archive using AES-256 The file is uploaded to a cloud storage service such as those offered by Google, ...
1
vote
2answers
183 views

What is the best practice for encrypting and storing temp data on client?

I have a client-server system, where the client is an Android app. The client and the server communicate over HTTP. If the server/network is not available, then the client has to store the data ...
11
votes
1answer
62k views

Forgot password to 7-Zip archive

I think I already know the answer to this question, but I thought I'd ask the experts anyway. A few months back, I created a password-protected 7-Zip archive which housed the source code of a simple ...
0
votes
1answer
446 views

What is Cryptographic metadata

I'm learning about how to encrypt a file in a computer system. I'm reading this: https://wiki.archlinux.org/index.php/disk_encryption Here I found an notation: Cryptographic metadata. As I know, ...
2
votes
1answer
501 views

eCryptfs: what if I remove ~/.ecryptfs

I'm learning how to use eCryptfs: https://wiki.archlinux.org/index.php/ECryptfs I get things as below from the link: This is used to derive the actual file encryption master key. Thus, you ...
1
vote
1answer
2k views

Differences between using an encrypted container and encrypting a partition

I would like to store encrypted backups on an external hard disk and am wondering what the differences are between creating an encrypted (Veracrypt) container and creating an encrypted partition. Are ...
12
votes
2answers
9k views

Simple way to encrypt files on Linux and decrypt on Windows?

We are in need of an encryption process for backups of very valuable data. This data will be stored on a distributed filesystem, so even with permissions set right, it's not out of reach that this ...
2
votes
1answer
2k views

truecrypt volume - Recover 18char known password with hashcat (characters variations)

I have an old truecrypt file that I'd like to decrypt. I know the 18 characters password I was using at the time, I'm sure of it. However I made a "variation" of it : I mapped some characters to l33t ...
2
votes
1answer
215 views

Are encrypted files safe in Windows 10 when using PINs?

In Secrets and Lies, Bruce Schneier writes: Many keys are generated from passwords or passphrases. A system that accepts 10-character ASCII passwords might require 80 bits to represent, but has ...
5
votes
1answer
336 views

Is there readily available encryption algorithms for current computers, that is safe from quantum computers?

Is there readily available encryption algorithms for current computers, that is safe from quantum computers? I know a bunch of currently popular encryption algorithms that are safe from current ...
3
votes
1answer
424 views

Storing encryption keys [closed]

Think of this scenario: you've got an application that manages some files some of these files contain sensitive data that should be encrypted on disk the application is configured to start by itself ...
6
votes
3answers
6k views

Is it possible to read a text file inside a password-protected zip file without the password?

I have a text file (.txt) compressed in ZIP format protected by a password. I think it has only one line of text and I want to see the contents of this file. I tried fcrackzip but I think the ...
1
vote
0answers
40 views

Is this protection for customer data both secure and fast enough?

A small electrical installation company has a big list of customers. The list contains personal information like names, phone numbers, addresses, info (like what product/installation) and some small ...
3
votes
1answer
366 views

Why are SSH host keys stored un-encrypted?

Do we have any standard way to encrypt SSH host keys (like /etc/ssh/ssh_host_rsa_key)? If not, why is it stored in plaintext? Isn't it sensitive information?
3
votes
1answer
124 views

Recommended practice for laptop encryption: nested encryption?

Until now I have used a laptop that has a single folder encrypted (using filevault2) containing my passwords and bank stuffs. I am getting a new laptop that encourages full-disk encryption. This ...
1
vote
1answer
564 views

Sensitive files in the Cloud: Automated mounted TrueCrypt volume

My current setup currently I'm using Boxcryptor Classic 1.x (still compatible to EncFS) to mirror some files with SyncBack Pro into the virtual Boxcryptor-Harddisk. Those get then encrypted by BC ...
0
votes
1answer
74 views

Securing integrity of a large file with cryptography

Let say I have a large file that is of considerable interest to the public and I want to publish it. The plan is to hash it using reliable function and publish its hash on a public blockchain (btc or ...
0
votes
1answer
364 views

Using unencrypted parts of encrypted file to recover password (7zip)

I have forgotten the password for an encrypted 7zip file (the filenames are not hidden), and I have copies of some of the unencrypted files. Is there a way I can use this to find out what the password ...
-2
votes
1answer
841 views

Rar password when you have unencrypted and encrypted file

I have two files (file1 and file2) where file1 is encrypted with rar software and file2 is the original plain text. Does anyone know the fastest way to get the password used to rar the file?
0
votes
1answer
375 views

Disk Encryption vs File Encryption for Embedded Linux?

The Security page for Android discusses file-based vs full-disk encryption. It discusses some rationale about why FBE in Android 7.0 is an enhancement over FDE when it come to a smartphone. But, if ...
11
votes
12answers
13k views

How can I share files with other individuals using the cloud in a secure way?

I would like to use a dropbox because it is easy and convenient. But I want to encrypt the files with the public key of the intended recipient, so he will be the only one who can access the data in ...
0
votes
1answer
103 views

Best way to reduce encryption of the big files

I want to share a big file(All existing formats) with others. As I'm using Android phones as client/server I want to reduces the CPU overhead and Time it takes to encrypt/decrypt. My idea is to use a ...
3
votes
1answer
543 views

Is there a ransomware variant that checks for file's magic numbers to encrypt?

Is there a known ransomware-variant (Cryptolocker, Cryptowall etc.) that before encrypting the files checks for their magic numbers? Lets say that there's a Word file, that had its file extension ...
0
votes
2answers
158 views

How can I select a compression utility that is popular and secure enough

In a previous posting on Which is a safe way to transfer a copy of a sensitive document?, I have received suggestions to compress and encrypt an attachment file using the options of utilities such as ...
0
votes
1answer
96 views

Way to secure store personal data

This is not for business or corporations, but for personal situations. I rely on gsuite, google drive, google docs, etc.. not that too much 'heavily', but I use it to send most of my business emails, ...
1
vote
1answer
745 views

Securely storing AES key with public key cryptography

Security newbie here I have a bash script that recursively enumerates all files and directories from a given path (say /home/user) and encrypts individual files and stores them into another directory ...