Tagged Questions
2
votes
1answer
54 views
Is it safe to derive an IV partially from the secret data if it is hashed before use?
To help ensure uniqueness of IV's used in a CFB AES-256 cipher, software I know of gathers bits from various sources including the plaintext being enciphered, and runs that through an SHA-256 hash. ...
0
votes
1answer
65 views
Should I run my password through Bcrypt before using it for encrypting a file with AES-256? [duplicate]
I need to encrypt a file with a password that can be memorized. So I was thinking about running the password through some rounds of Bcrypt before using it for AES encryption, so every time I want to ...
2
votes
1answer
71 views
AES in CTR mode with same random IV to create same ciphertext
I am currently working on a little project.
I am trying to generate an AES key with that I would like to encrypt a private RSA key. I have to do it this way. However, I do not want to save the AES ...
1
vote
2answers
289 views
Questions to hybrid encryption. RSA with AES
I want to use a hybrid encryption in my application, so after reading a lot of lines I ended with this implemantation, please critizie it ;) (I want to stick to .Net)
byte[] aesKey = ...
3
votes
2answers
435 views
How X509 Certificates are used for Encryption
I have small doubt regarding the process of X509.
I am aware of OpenPGP Encryption/Decryption, where we generate the public key and private key. We can share the public key to vendors and they can ...
0
votes
2answers
670 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 ...
0
votes
1answer
77 views
Securing the SOAP Messages
One of my clients wants to encrypt few sensitive information which will be transferred through webservices / SOAP.
My client has the following suggestions:
Encrypt the sensitive data with AES ...
1
vote
1answer
473 views
aes cfb 128 decryption /encryption problem between Erlang and PHP
Update 2 - it works
Thanks to Tom Leek for his answer.
The CFB mode of mycrypt for Rijndael uses a 8-bit feedback loop and not a feedback loop the length of the key/iv.
You have to force it to use ...
5
votes
2answers
2k views
Security comparsion of 3DES and AES
Which one is more secure and least possible to be broken through cryptanalysis AES or 3DES (no matter performance)?
I need to use encryption for my projects to store and secure sensitive information ...
1
vote
4answers
184 views
RSA and encrypted authentication
Symmetric algorithms such as AES provides modes such as GCM which can be used for authenticated encryption. Assuming that I'm using RSA instead of AES, does it still make sense to add authentication ...
2
votes
1answer
114 views
Design of Initialisation Vector
I understand that an IV (initialisation vector) should be both unique and unpredictable, but I have found little guidance as to which is most important.
For an AES cipher I have a block size of 128 ...
8
votes
3answers
326 views
AES using derived keys / IVs. Does it introduce a weakness?
I'm looking for an efficient way to encrypt multiple fields in a database with AES using a single global key, used throughout a large web application.
Obviously in order to re-use this key, a unique ...
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
...
3
votes
4answers
686 views
Asymmetric crypto: Decrypt own messages without having private key
I have built a messages system for my website. Users can send the admin messages which are stored in the DB after being AES-encrypted.
I think that using asymmetric crypto (RSA through openssl) ...
1
vote
0answers
57 views
Using GPG or PGP for symmetric database encryption/decryption in c# [duplicate]
Possible Duplicate:
Using GPG or PGP for symmetric database encryption/decryption in c#
I am looking to symmetrically encrypt/decrypt information in a database. This info consists of short ...
12
votes
6answers
3k views
Is AES encrypting a password with itself more secure than SHA1?
This isn't really a practical question, but more a question of curiosity. I heard a CS professor recommend stepping up from md5ing passwords not to SHA1, but to AES encrypting the password using ...
2
votes
1answer
583 views
static IV and random keys using aes-256-cbc
Are there any security risks in using a static IV if I generate a new random KEY for each set of data to encrypt?
If I understand correctly what the purpose of the IV is in Cipher-block chaining mode ...
