Sounds like this is what you want https://phpseclib.com/docs/rsa#rsaencryption_oaep
Sep 20, 2022
4
Level 2
RSA-OAEP-256 encryption in php laravel ?
Sorry i am posting this as I am not able to find any relevant information on google or maybe I am not looking for exact problem .
Actually I am building one bank connection apis in my laravel project and they have given me this information
Encryption Mechanism : JWE
Key Encryption Algorithm : RSA-OAEP-256
Content Encryption Method : A256GCM
Signing Algorithm : RS256
Now the problem is I have no idea in this encryption I tried some googling but found no useful informatin or may be due to lack of knowledge in this part I am not able to find it correctly .
So if any body can just suggest me or guide me where to look for this encryption it would be very helpful . Thankyou
Please or to participate in this conversation.