Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RSA encryption with public key

Hi! I'm trying to implements TLS handshake in Brightscript and stuck with encrypting premaster secret with RSA. I know we have roRsa object but it only allows to encrypt with private key and in TLS I only have public key from the server. I was trying to implement RSA algorithm manually but modulus is too large to store even in long integer. 

Is there any way to encrypt with RSA public key?

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.