Encode data using public RSA key

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Encode data using public RSA key

Grigory Fateyev-2
Hello, Erlangers!

I have RSA public key (seems its C#) like:

<RSAKeyValue><Modulus>...</Modulus><Exponent>...</Exponent></RSAKeyValue>

ok, I can convert it to normal public key. How can I encode any data
using this key?

Thank you!

--
Best regards!
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Encode data using public RSA key

Roger Lipscombe-2
http://erlang.org/doc/man/public_key.html#encrypt_public-2

On Tue, 2 Jul 2019 at 08:53, Grigory Fateyev <[hidden email]> wrote:

>
> Hello, Erlangers!
>
> I have RSA public key (seems its C#) like:
>
> <RSAKeyValue><Modulus>...</Modulus><Exponent>...</Exponent></RSAKeyValue>
>
> ok, I can convert it to normal public key. How can I encode any data
> using this key?
>
> Thank you!
>
> --
> Best regards!
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions