Linked Questions

1
vote
0answers
247 views

Encrypting same large iso file with gpg and openssl [duplicate]

test.iso is a large file ,almost as large as 3G. ls -al test.iso -rw-r--r-- 1 debian8 debian8 3076767744 Apr 21 10:56 test.iso 1.Encrypting with gpg. I created pub key and provate key for person1. ...
41
votes
5answers
134k views

Encryption - should I be using RSA or AES?

My model is one where I have several clients which wish to speak with some (but not all) of the other clients. All messages will be sent through a server. Only the two clients communicating with ...
48
votes
4answers
8k views

Why is key exchange necessary at all?

Let's say "Alice" and "Bob" want to communicate with each other over an insecure network. Using Diffie–Hellman key exchange, they can get the same symmetric key at last. However, as I understand, ...
16
votes
2answers
61k views

Decrypt from cipher text encrypted using RSA

I am sniffing a client side application traffic and I found some encrypted data. I am not able to decrypt it. Information which I have is Public Key: ...
10
votes
3answers
3k views

Why is the subject's public key not used for encryption in SSL? [duplicate]

As far as I understand the workings of SSL - the client generates the pre-master secret and sends it to the server encrypted using the server's public key. Now, both parties perform some steps to ...
10
votes
2answers
4k views

The maximum size of a file that I can encrypt with a specific key size

a 1024-bit private key is generated using the openssl genrsa privateKey.pem 1024 command. we extract the public key from the private key using the command openSSl rsa -in privatekey.pem -pubout -...
3
votes
3answers
2k views

Why does PKI use a hash function?

I'll preface my question with my understanding of PKI in case I have any misconception. Owner of domain D generates a public-private key pair (d,e), and constructs a certificate c consisting of (d, D,...
0
votes
2answers
2k views

Is it secure to auth API requests using an RSA? [closed]

I would like to give our users the ability to access to private data using an API. I don't want to store the API credentials in my database. (Same reason I don't store the password in plain in the ...
2
votes
1answer
2k views

Why does this key get Base64 encoded prior to use?

I wish to have my server encrypt messages to clients who have each provided the server with an RSA public key, as well as having the clients authenticate their messages to the server using their ...
1
vote
1answer
1k views

Limit of 256 bit drive encryption? 512 needed for large drives?

I am building an encrypted NAS with 4 x 4TB hard drives and was wondering what the limit of 256 bit AES is when implemented via cryptsetup and luksFormat. As I understand it, the maximum plaintext ...
2
votes
1answer
1k 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 ...
17
votes
0answers
818 views

Understanding HTTPS: why use both symmetric and asymmetric key cryptography? [duplicate]

As a Web Developer I recently realised my understanding of HTTPS is poor and am currently endeavouring to better understand it. After some initial reading I'm left a bit puzzled as to why initially ...
1
vote
1answer
438 views

Padlock Encryption

I am working on an text editor type application that runs something like this (it is a small scale app): Client can use app for an hour after running it. The app is in a boxed environment where they ...
1
vote
2answers
187 views

When to use private keys and when to avoid in SSL?

So I have a few questions that has been kicking around in my head that I've filled with assumptions that may be incorrect. From what I understand, we need private key (in the format signedcert+...
1
vote
2answers
160 views

Solution for store sensitive data without having access to it

I need to develop a system where we need to store cryptographed sensitive data, but have no directly access to it. What I think is something like a private/public-ish key pair. We would hold the ...

15 30 50 per page