Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 12642

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

Is Bouncycastle RSA+OAEP implementation vulnerable to Manger’s attack?

The RSAES-OAEP scheme in PKCS1 v2.0, v2.1 and v2.2 (rfc2437, rfc3447, rfc8017 respectively) is the same scheme, although the notation changed between 2.0 and 2.1; see why did oaep change from pkcs1 v2.0 … and https://stackoverflow.com/questions/42709020/is-there-a-default-label-for-the-built-in-rsa-oaep-encryption-in-java . …
dave_thompson_085's user avatar
2 votes
Accepted

RSA Optimal Asymmetric Encryption Padding Beginner

Yes, (Optimal) "Asymmetric Encryption Padding" means padding for asymmetric encryption which in practice means RSA encryption. The padded block is then RSA-encrypted, and on decryption the RSA-decrypt …
dave_thompson_085's user avatar
1 vote

RSA different ciphertext for the same plaintext

Normally you don't specify anything and it uses defaults, but you can optionally make separate calls to configure/tailor it before doing an operation that uses it, such as RSA encryption either OAEP or … of init which correspond to different use-cases, some including an RNG and some not; if you use one without, e.g. init(int,Key,AlgorithmParameterSpec) for an instance that needs randomness (like RSA-OAEP
dave_thompson_085's user avatar