Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Roberto Spadim
hum, i will talk again with general cases, but it give nice ideas the point about security is fisic access... you have problem with fisic access to disk? for example, if you put your data in a datacenter, you never know who is changing your hardware or what happen to hardware disks... at

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Roberto Spadim
* a point in my last email... ... but underground world is nice and many times free =] ... the nice != legal, check your country law before doing crypt and others protection features

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Unga
From: Roberto Spadim robe...@spadim.com.br To: Unga unga...@yahoo.com Cc: openssl-users@openssl.org openssl-users@openssl.org Sent: Saturday, August 17, 2013 6:14 AM Subject: Re: How to securely encrypt identical files to identical ciphertext? hum, i

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Swair Mehta
On 16-Aug-2013, at 9:24 AM, Matt Caswell fr...@baggins.org wrote: On 16 August 2013 16:46, Swair Mehta swairme...@gmail.com wrote: On 16-Aug-2013, at 7:49 AM, Unga unga...@yahoo.com wrote: Hi all I have a requirement to encrypt files, in such a way identical files should generate

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Unga
From: Swair Mehta swairme...@gmail.com To: fr...@baggins.org fr...@baggins.org Cc: openssl-users@openssl.org openssl-users@openssl.org Sent: Saturday, August 17, 2013 7:18 AM Subject: Re: How to securely encrypt identical files to identical ciphertext? On 16-Aug-2013, at 9:24 AM, Matt

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Graham Leggett
On 17 Aug 2013, at 06:03, Unga unga...@yahoo.com wrote: My encrypted file is with you. It is encrypted without a salt. I'm scared you may use a sophisticated system to decrypt it and read the sensitive info. I use a per file not guessable 150 character password. This password is not

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-17 Thread Unga
encrypt identical files to identical ciphertext? On 17 Aug 2013, at 06:03, Unga unga...@yahoo.com wrote: My encrypted file is with you. It is encrypted without a salt. I'm scared you may use a sophisticated system to decrypt it and read the sensitive info. I use a per file not guessable 150

How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Unga
Hi all I have a requirement to encrypt files, in such a way identical files should generate identical ciphertexts. I plan to use aes-256-cbc cipher with 128-byte long non-guessable password per input file. Identical input files will be provided with identical passwords. 1. Is it no salt the

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Swair Mehta
On 16-Aug-2013, at 7:49 AM, Unga unga...@yahoo.com wrote: Hi all I have a requirement to encrypt files, in such a way identical files should generate identical ciphertexts. I plan to use aes-256-cbc cipher with 128-byte long non-guessable password per input file. Identical input files

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Matt Caswell
On 16 August 2013 16:46, Swair Mehta swairme...@gmail.com wrote: On 16-Aug-2013, at 7:49 AM, Unga unga...@yahoo.com wrote: Hi all I have a requirement to encrypt files, in such a way identical files should generate identical ciphertexts. I plan to use aes-256-cbc cipher with 128-byte long

RE: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Salz, Rich
I have a requirement to encrypt files, in such a way identical files should generate identical ciphertexts. Identical salts(ivs) should work. No salt works as well. This would have the effect that two files which were identical at the beginning for the first x number of blocks (but

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Unga
- Original Message - From: Swair Mehta swairme...@gmail.com To: openssl-users@openssl.org openssl-users@openssl.org Cc: Sent: Friday, August 16, 2013 3:46 PM Subject: Re: How to securely encrypt identical files to identical ciphertext? On 16-Aug-2013, at 7:49 AM, Unga unga

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Unga
- Original Message - From: Matt Caswell fr...@baggins.org To: openssl-users@openssl.org Cc: Sent: Friday, August 16, 2013 4:10 PM Subject: Re: How to securely encrypt identical files to identical ciphertext? On 16 August 2013 16:46, Swair Mehta swairme...@gmail.com wrote: On 16

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Roberto Spadim
one idea... use a salt with a MD5(file contents) + pseudo random salt based on others informations this give a nice salt... example... with different salts: file1 contents = file 2 contents salt of 1 = MD5(MD5(file1 contents) + file1 name) salt of 2 = MD5(MD5(file1 contents) + file2 name) or if

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread shathawa
Besides using the same cipher (session) key, you also need to use the same initialization vector. Note: in practice, the initialization is a random number that should not be reused. - Steve Hi all I have a requirement to encrypt files, in such a way identical files should generate identical

Re: How to securely encrypt identical files to identical ciphertext?

2013-08-16 Thread Unga
From: Roberto Spadim robe...@spadim.com.br To: openssl-users@openssl.org Sent: Friday, August 16, 2013 6:01 PM Subject: Re: How to securely encrypt identical files to identical ciphertext? hi, i don't know if i will answer your question, but i will give