09-23-2008 03:17 AM
in other topic, i've asked about using RSA encryption with 4096, then a found, i had a problem generating RSA key with 4096 bits length.
Does anybody know, how to generate such a key? BB has restriction up to 2048 bits.
I've tried to use the bouncycastle.org library, but it's slow, generating of 1024 bits key took about 180s, 2048 bits took more than 900s ,in simulator. Built-in function in BB simulator generated 2k key in few seconds.
Where is the problem with bouncycastle? How can be the built-in function so fast? Is it because it's native code? Is there some solution? Any other library? Is the only possible way to generate the key on PC and to transfer it to BB?
Thank you for any help.