Elliptic Curve Cryptography
Posted: Wed Feb 01, 2017 6:52 pm
I have two questions about Elliptic Curve Cryptography(ECC).
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?
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?