Skip to main content

Questions tagged [oaep]

Optimal Asymmetric Encryption Padding is a padding scheme for RSA, codifying how short plaintext is enciphered and deciphered. It has a security reduction to the RSA problem.

2 votes
1 answer
141 views

We all know that it is a bad idea to use the same key for multiple purposes. However it sometimes happens that non-cryptography-savvy people will make this mistake - specifically, that they'll use an ...
Paul Crowley's user avatar
2 votes
0 answers
100 views

I saw theorems stating that RSA-OAEP (or the similar variant OAEP+) is CCA-secure in the random oracle model. I wonder about the following: Is RSA-OAEP (or even OAEP+) CPA-secure in the plain model? ...
liavz123's user avatar
3 votes
3 answers
2k views

General My goal is to encrypt some strings and store them in a database. I am using RSA OAEP in Go (Golang): ...
Subzero123's user avatar
0 votes
1 answer
358 views

Here the encryption is done as follows : $$C=P^e \textrm{mod} \, n =(P_1||P_2)^e \textrm{mod} \, n.$$ Here's my scenario that the adversary with CCA2 wins. The adversary chooses $X_1, X_2$ of the same ...
Lee Seungwoo's user avatar
0 votes
0 answers
84 views

I want to make an ecryption algorithm that is secure in, well, really many ways, which is hard I see, so I came up with some ideas of how to implement it using some primitives that I know and I ...
cnikbesku's user avatar
  • 125
1 vote
3 answers
469 views

Often data is encrypted using Symmetric Ciphers and Symmetric key is shared with recipient by encrypting it with recipient's Asymmetric Public Key. NIST Special Publication 800-56B, Revision 2 section ...
crypt's user avatar
  • 2,532
2 votes
1 answer
141 views

In my hobbyist project implementation of RSA-OAEP, I omitted support for labels at the beginning. I set the label to empty string on encryption and ignored the label on decryption. Now I'm adding a ...
DannyNiu's user avatar
  • 11.5k
1 vote
1 answer
196 views

I have a question about how RSADP/RSAEP are defined (in RFC2437 https://datatracker.ietf.org/doc/html/rfc2437#section-5.1.2): RSADP (and RSAEP) are described with the same limits for the message (m) ...
Brad's user avatar
  • 151
3 votes
3 answers
1k views

I have written a raw (textbook) RSA implementation (just for fun) and I wonder is there an easy way to make it secure enough so it can be used in real life (without implementing OAEP+ and RSASSA-PSS)? ...
Brongs Gaming's user avatar
1 vote
1 answer
617 views

We are using RSA without OAEP, with a relatively small input domain. Lets assume we have John and Bob connected on a line, and we are eavesdropping them. Bob first sends John his public key (e,n), ...
Abra Cadabra's user avatar
2 votes
1 answer
2k views

I searched but found nothing except the original paper, and I can't wrap my head around it. Can you help me by giving an overview and then if possible, a short explanation of the algo?
arka's user avatar
  • 21
1 vote
0 answers
2k views

I'm not an expert on cryptography, so, the understanding below might not be entirely correct. From what I understand, in the context of JWE, the RSA-OAEP-256 key algorithm is meant to provide payload ...
Wendong's user avatar
  • 11
1 vote
0 answers
525 views

To be clear I'm well aware that ChaCha doesn't need to be "improved". Also, I have no intentions or misguided ideas about trying to "improve" it. My question is hypothetical, and ...
Modal Nest's user avatar
  • 1,473
0 votes
1 answer
1k views

In this document, it shows the EM will have one zero octet padding prefixed. ...
CHL's user avatar
  • 31
3 votes
2 answers
359 views

With reference to this question: First, when using padding (PKCS or OAEP), if the ciphertext has errors in transmission we'll always get an error at the decryption process? where the answer is: Yes,...
CHL's user avatar
  • 31

15 30 50 per page
1
2 3 4 5