How to generate EC Keys

Discussion in 'Application Development' started by furrbie, Jul 12, 2010.

  1. furrbie

    furrbie New Member
    5

    Jun 25, 2010
    1
    0
    5
    Hi,

    I am new to Android development and am trying to implement a simple application that does elliptic curve cryptography using the BouncyCastle libraries, which I understand that Android supports.

    I have the following line of code that I use to get an instance of a KeyFactory object that works on my laptop but throws an NoSuchAlgorithmException when I try running on my Nexus One Android phone (running SDK 2.1):

    What should I do get an instance of KeyFactory that supports ECKey generation? Or is there some other way to create an ECKey object?
     

    Advertisement

Share This Page

Loading...