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. I've seen the RSAOAEPKeyExchangeFormatter Class and RSAPKCS1KeyExchangeFormatter classes but i don't know how to use them. 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?
Aucun commentaire:
Enregistrer un commentaire