I have the original Netduino Plus version 1. I am running the stock 4.1 NETMF on it.
I am doing a web server app that I need some security on. I know SSL is not available, so I was thinking I could just use the built in Key_RSA class that comes in 4.1.
The problem is I don't know enough about RSA to get from point A to point B in using it. When I do this:
Key_RSA crypto = new Key_RSA(..., ...);
The ... and ... are byte[] values. The first is called Modulus and the second is called Exponent.
What are those and where do I find them? I read several web pages about RSA encryption and I understand I need a public / private key pair. I did find a web site that talked about the modulus and exponent, but not how you get them.
I found a site that will generate an RSA 1024 bit public / private key pair. They are base 64 strings, but don't say anything about the modulus and exponent parts.
So the question I have is where do I get those values to put into the constructor?
I guess while I am at it I should also make sure that the Key_RSA stuff is actually implemented on the Netduino Plus 1. is it?