Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
159 views

How to be able to change the password to access data encrypted with AES-GCM, without reencrypting?

Let's say you need to encrypt plaintext which is 1 TB big. You have a password pwd. This very classical AES-GCM process is ...
Basj's user avatar
  • 553
2 votes
1 answer
2k views

Simple secret key encryption with PyNaCl [closed]

I am playing around with PyNaCl to get a bit into cryptography atm. Now I wrote two scripts to encrypt a file with a secret key and then decrypt it again using that key. The encryption part works ...
Marcus's user avatar
  • 31
0 votes
2 answers
1k views

Password in first line of file for AES-256 encryption

I'm using openssl with aes-256-cbc encryption to encrypt a file. The password is on the first line of the file and the ...
rrrkren's user avatar
  • 13
6 votes
1 answer
509 views

Single-purpose symmetric encryption scheme for single files

I'm writing a simple password manager program that will encrypt/decrypt a single file (it's size will most likely stay under a few K). This is my initial file format design: ...
tman's user avatar
  • 61
8 votes
2 answers
1k views

Hash decrypts key, key decrypts cipher... why?

I noticed recently that a couple of pieces of encryption software (TrueCrypt being one of them) don't directly use a hash of the password as the key for the block cipher. Instead, they generate a ...
Polynomial's user avatar
  • 3,567