문제

I am new to java card development.i want to build java card applet which encrypt data using ECC cryptography.So i am using jcop41 card and it support ECC .so i want to know what are the cipher class support ECC.I want same encryption like in here(https://stackoverflow.com/questions/17669625/java-card-rsa-encryption) using ECC. But in here they used Cipher.ALG_RSA_PKCS1 .But ECC we can't use this cipher.can you give me any sugession??

도움이 되었습니까?

해결책

To my knowledge encryption based on ECC is not available in the Java Card API, only Signature (i.e. ECDSA)and KeyAgreement (i.e. ECDH). Just look for constants with names that start with "ALG_EC_" in those classes. There might be NXP specific extensions to the API though.

Here's a paper describing how to implement ECIE in Java Card (wich I found by Googling: "java card" elliptic curve encryption...).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top