Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm writing an RSA encryption code on vb.net using the RSACryptoServiceProvider class. You get the option to use pkcs v1.5 or OAEP padding but i can't understand if it's parameters can be shown or are accessible to edit.
Is it possible to edit the parameter for the padded bytes and import padding bytes from your own random byte generator?
Is there a sample code which does that, that i could view and understand the procedure? In general can the padding parameters on RSACryptoServiceProvider class be changed?

What I have tried:

I've seen the RSAOAEPKeyExchangeFormatter Class and RSAPKCS1KeyExchangeFormatter classes but i don't know how to use them.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900