Languages

Menu
Sites
Language
Creating Public key for RSA encryption

Hi,

Im in need of doing some RSA encryption and want to create a Public key.

I have a modulus and exponent value.

Is there a way to create a Public key with this modulus and exponent?

I referred PublicKey::SetKey(ByteBuffer*) but how to use it?

Is there any other solution?

Thanks

 

 

 

Responses

1 Replies
Alex Ashirov

Hi,

You can find some useful information here:

http://developer.bada.com/badaforum/board/thread/view.do?boardName=bada-cc&messageId=6757&frm=7&tagValue=RSA&curPage=1

It’s about Bada, but API is the same.

Also, you can take a look at CipherMessage sample from the SDK to figure out how to use the Security API.