In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.
- Posts: 9
- Joined: Tue May 03, 2016 3:40 am
- Points :128
I have two questions about Elliptic Curve Cryptography(ECC).
Code: Select all
private KeyPair keyPairA;
private KeyPair keyPairB;
keyPairA = KeyPair(KeyPair.ALG_EC_F2M,KeyBuilder.LENGTH_EC_F2M_113);
keyPairB = KeyPair(KeyPair.ALG_EC_FP,KeyBuilder.LENGTH_EC_FP_112);
Could anyone tell me what is the difference between ALG_EC_F2M and ALG_EC_FP ?
And is the second parameter the length of private key or public key?
- Posts: 24
- Joined: Mon Nov 30, 2015 3:02 am
- Points :188
It's recommended to check JavaCard API document
firstly.You will find the basic introduction about these.
public static final byte ALG_EC_F2M: KeyPair object containing an EC key pair for EC operations over fields of characteristic 2 with polynomial basis.
public static final byte ALG_EC_FP: KeyPair object containing an EC key pair for EC operations over large prime fields
Users browsing this forum: No registered users and 1 guest