Tagged Questions
1
vote
1answer
75 views
Different performance of openssl speed on the same hardware with AES 256 (EVP and non EVP API)
If I run openssl 1.0.1e like this :
$ ./openssl speed aes-256-cbc (i.e without EVP API)
Doing aes-256 cbc for 3s on 16 size blocks: 14388425 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 64 size ...
1
vote
1answer
71 views
Is OpenSSL AES GCM standardized?
I have been reading about the perils of not going the pages of my own encrypt-then-mac implementation, because there so many things can go awry. So decided to use EVP_aes_256_gcm.
But some questions ...
0
votes
2answers
496 views
Why does OpenSSL not include AES-256-GCM? [closed]
I'm trying to implement AES-256-GCM in Ruby.
Ruby's OpenSSL wrapper library and aead library both clearly seem to believe that OpenSSL itself supports this.
However, neither 0.9.8r (which I had ...
4
votes
2answers
755 views
openssl: recover key and IV by passphrase
A large amount of files were encrypted by
openssl enc -aes-256-cbc -pass pass:MYPASSWORD
Openssl should derive key+IV from passphrase. I'd like to know key+IV equivalent of that MYPASSWORD. Is ...
5
votes
3answers
316 views
I don't see how “-salt” in the openssl command line tool enhances security at all
I do this to encrypt a single file:
openssl aes-256-cbc -a -salt -in file.txt -out file.enc
and then type in some regular plaintext password.
I do not understand how -salt enhances the security of ...
8
votes
1answer
2k views
Wheres the salt on the openssl aes encryption?
Im interested in knowing how and where openssl inserts the generated salt on an AES encrypted data. Why? Im encrypting data in Java classes and need to guarantee that i can use openssl to decrypt them
...
6
votes
1answer
473 views
OpenSSL fails NIST AES-128-ECB test vectors?
I'm having trouble getting OpenSSL's ciphertext to match the NIST test vectors.
Example : in "ecb_e_m.txt" from http://csrc.nist.gov/archive/aes/rijndael/rijndael-vals.zip, the first test is (in hex) ...
1
vote
2answers
133 views
Protecting passphrases within an application
First off, I'm not very familiar with encryption best-practices.
My use-case is simple: I'm creating an application that will be reading encrypted documents and decrypting them dynamically to do some ...