Two different RsynCrypto scenario's
Brought to you by:
thesun
From: Jan A. <jan...@do...> - 2010-04-12 21:42:24
|
Hi, I was just wondering if there was any difference in the level of encryption for the two following scenario's. In the first scenario I generate a certificate and a key. Encryption is done with the certificate and decryption is done with the key. See these commands directly below. openssl.exe req -days 35600 -newkey rsa:1536 -keyout cert.key -nodes -x509 -out cert.crt -config openssl.conf" rsyncrypto test_clear.txt test_enc.txt test.key cert.crt rsyncrypto -d test_enc.txt test_clear.txt test.key cert.key" In the second scenario I only generate an RSA key and both encrypt and decrypt the files with this key. See the commands directly below. openssl.exe req -days 35600 -newkey rsa: 1536 -keyout private.key -nodes -config openssl.conf" rsyncrypto test_clear.txt test_enc.txt test.key private.key" rsyncrypto -d test_enc.txt test_clear test.key cert.key" Any information is appreciated. Warm regards, Jan |