login about faq

I am trying to use the RSA-512 functions from Delphi (Non ActiveX DLL).

I receive the N key (64 bytes) and the E key (4 bytes) in binary form from a connected device.

I want to import these keys into the rsa object, but don't quite know how to do it.

Id be grateful if someone could point me in the right direction !

asked Jun 20 '16 at 11:41

jg5858's gravatar image


See this example: https://www.example-code.com/delphiDll/rsa_encryptModExp.asp

For you, it's just a matter of creating a base64 string representation of the N (modulus) and E (exponent). The exponent will very likely always be decimal 65001, which is "AQAB" in base64.


answered Jun 20 '16 at 11:51

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 20 '16 at 11:41

Seen: 1,046 times

Last updated: Jun 20 '16 at 11:51

powered by OSQA