Linked Questions
10 questions linked to/from Why is padding used for RSA encryption given that it is not a block cipher?
62
votes
3
answers
59k
views
Definition of textbook RSA
What is the definition of textbook or "raw" RSA?
What are some of the properties of textbook RSA?
How does it differ from other schemes based on RSA?
22
votes
1
answer
26k
views
What is the maximum size of the plaintext message for RSA OAEP?
OAEP is an important technique used to strengthen RSA. However, using OAEP
(or any technique that adds randomness) reduces the size of plaintexts that can be encrypted.
Assume for instance that OAEP ...
10
votes
3
answers
25k
views
Why are RSA ciphertexts different for the same plaintext?
I am using SpongyCastle for a project on android. I have used RSA to encrypt the data and then decrypt it in another activity, the keys are stored in the shared preferences.
I discovered a thing I ...
-1
votes
1
answer
10k
views
Why plain RSA encryption does not achieve CPA-security?
Why plain RSA encryption does not achieve CPA-security?
3
votes
2
answers
2k
views
Toy public/private key example open to frequency analysis?
I've been looking at an online Public Key Encryption Example (summarized below). It seems to me that choosing cyphertext = plaintext^(key) mod n would produce the ...
3
votes
3
answers
444
views
Is RSA in decline across the board?
From what I gather from the internet (source), the recommended practice for 2019 and beyond is to avoid RSA and use ECDH and ECDSA.
Is this the general case?
4
votes
1
answer
966
views
Why does symmetric encryption require padding?
Why does symmetric encryption require padding? Is it to avoid the attacker to learn the size of the plaintext?
3
votes
1
answer
795
views
Appropriate AES key length for short term protection
Currently I'm doing some initial research for a fully connected distributed network communication model. The context here is a peer-to-peer multiplayer protocol, using a majority-voting system. More ...
1
vote
1
answer
959
views
Is it secure to use RSA to exchange AES key?
I have to create a Client-Server Application using Java and I want to make the communication secure. I thought to use AES to encrypt the messages and for key exchange I make the next steps:
Client ...
2
votes
1
answer
131
views
What is the purpose of calculating the N modulus in the encryption phase of asymmetric cryptography?
I was reading a paper entitled : "Mathematical Underpinnings of Asymmetric Cryptography". I came across this
If $N$ is the product of two large prime numbers $p$ and $q$, say 300 digits each, and $e$...