Can Oracle 21 use pkdecrypt to decrypt text encrypted using RSA-OAEP-256? — oracle-mosc

PL/SQL (MOSC)

MOSC Banner

Can Oracle 21 use pkdecrypt to decrypt text encrypted using RSA-OAEP-256?

I need to decrypt an encrypted info using a web token:

{

"alg": "RSA-OAEP-256"

, "d": "..., "dp": "..., "dq": "...

, "e": "AQAB","key_ops":["unwrapKey"]

, "kid": "...

, "kty": "RSA"

, "n": ".., "p": ".., "q": ".., "qi": "...

}

In version oracle database 21 a routine DBMS_CRYPTO.PKDECRYPT is provided for decryption.

Can I use this function to decrypt information which was encrypted using the

RSA-OAEP-256 by means of this function.

and if so, how is the prv_key structured or what information do I have to enter here

for the decryption?


Thank you very much for your help.

With kind regards

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center