ITZone

Introducing the Biometric Tool for RSA algorithm (RSA Keys Generator)

The exchange of key pairs during the connection between systems using RSA algorithm is required. For systems in the same language this seems a bit easier than systems that use different languages ​​(eg .NET vs Java vs PHP vs …)

In the three guys above, perhaps the .NET guy I think is the simplest, simple way, no need to know much about this algorithm, search google one way is to understand immediately how to use and apply to the project .

However, most developers (dev) .NET when using this algorithm or problems when sending public key to partners.

The nature of the .NET code is simply to give birth to a key in the form of key XML format, then take all the effort to give it to the partner to use. Fortunately, the partner also uses .NET, but in reality it is not. Often we will meet the partner using Java / PHP or some open source school. As a result, its partner said: send it another format (PEM, DER, CER, …) because it cannot be used, and it also gives us a public key of the form .DER / CER / PEM , … at this time, Mr. dev .NET is likely to search for Google or to ask other people who have experienced this situation … (And maybe when reading this article, he was led to this article by Google – if So I'm happy?).

To generate the key pair used, you can use the openssl library, keytool (of java), … and many other tools. But I figured, if you code .NET, you will like the tool that I introduced below.

Introduce this tool:

Wish you happy code, and look forward to receiving comments to improve the tool, the content of the blog.

ITZone via dicay

Share the news now