-1
votes
0answers
24 views

How to get PrivateKey from byte[] [on hold]

I have a PrivateKey in byte[] format. (Which is internally read from .key file) Now I am trying to get PrivateKey from the byte[] using "EC" algorithm My code snippet: ...
0
votes
2answers
129 views

Why would an RSA library tell me that the public key must be at least 512 bits in size?

I'm trying to interoperate with a web service by reverse-engineering it. Currently, when sending a POST request, it encrypts the form data one-by-one with a 'RSA' function. But it's rather weird as ...
2
votes
1answer
581 views

Is it true for Java that the transformation mode and padding is ignored when using RSA?

Consider GregS's comment to this question (more specific to bouncycastle's provider implementation): http://stackoverflow.com/questions/11717646/bouncycastle-rsa-key-size-and-padding The mode, ...