Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The process of encrypting individual files on a storage medium and permitting access to the encrypted data only after proper authentication is provided.
2
votes
Encrypting text file line by line with stable encryption
Yes, it's possible. Encrypting each line independently, like you suggest is the way to go.
Most likely you will want to use a symmetric encryption algorithm independently for each line – i.e. have a …
0
votes
What algorithm could/should be used to encrypt files for storage on untrusted servers?
For the problem as stated, a stream cipher may not work. Stream ciphers need to either have a unique IV (increasing file size) or a single-use key. Otherwise they leak the XOR of any two files encrypt …
3
votes
Accepted
(How) Can we use HOTP for file encryption?
I had only a quick read through the source, and I am not particularly fluent in C#, so I may have gotten something wrong. That said the process appears to be:
Generate a random encryption key, encry …
0
votes
Using what we already know about the data to decrypt it?
Would this or any other information about the data help with decryption?
What you are looking for is called a known-plaintext attack.
Nowadays secure encryption algorithms are expected to be sec …
2
votes
Accepted
Encrypted files in an encrypted partition or folder
In short: does storing these encrypted files in an encrypted partition/folder create the same potential weaknesses as cascade encryption? If not, what of encrypting a .tar of encrypted documents?
…
8
votes
Alternative to NSA encryption algorithm
Supersingular isogenies are a rather recent attempt at post quantum security. You will have a hard time finding an efficient and secure implementation, and even if you write one yourself, the algorith …
4
votes
File encryption with AES CTR mode
There's nothing wrong with using CTR mode to encrypt files, or anything else, as long as you make sure to use every nonce value only once. (And add authentication, if malleability would be a problem.) …
1
vote
Accepted
Design for file transfers to a new party
Point 1 since I figure some form of user input would be good, otherwise it's basically just a random key and doesn't require any previous knowledge so anyone can generate it.
Nothing wrong with t …
10
votes
Would it be better to split a file and then encrypt, or vice versa?
Either could be implemented securely, but if you encrypt first and split afterwards, you can use standard tools and get everything right more easily. If you used the opposite order, you would have sev …
8
votes
Accepted
How to encrypt a file for random access
The catch how ever is that if a small part of the file is given along with the location of that bytes from the beginning of the file we should be able to decrypt just that piece.
Normal CTR mode …
1
vote
Accepted
Best practises to generate IV for AES-CTR in this scenario
You may want to rethink your whole setup. Like mentioned in the comments, there is a lot more to securely storing files than throwing encryption on them. In particular, you need to be concerned with a …
5
votes
Best way to generate a IV for AES-CBC when encrypting files?
With AES-CBC you usually need a random IV. However, in the case where you use each key only once, like when using password-based encryption with random salts for each file, you can use a fixed, zero I …