Generate RSA coded string from Excel 2007

2.6k Views Asked by At

I need to generate RSA encoded string from Excel 2007 document using VBA, but have no idea how to do this(I have public key, string will be decoded in .NET). Please help.

Thanks

1

There are 1 best solutions below

1
On

This website has a sample for doing it with a module (basModExp.bas)that you need to download.

Then its just calling the method mpModExp with the message, the Exponent and modulus (all in baseHex)