Our express partner will perform scheduled system maintenance from 19th Jan to 3rd Feb, so during this time, all the orders in our webshop will be handled from 4th Feb.
Sorry for any inconvenience caused.

Search found 2 matches

by ThanhLong
Wed Feb 05, 2020 5:41 am
Forum: Algorithm School
Topic: ECDSA (secp256k1) Signature Verification Fails
Replies: 2
Views: 9810

Re: ECDSA (secp256k1) Signature Verification Fails

Hi bogdanwallee

As I know
- your applet : signature = sign(privateKey, messageDigest)
messageDigest = SHA256(input data) ( because you use ALG_ECDSA_SHA_256, so It must be hash before sign)

- Your nodejs code : signature = sign(privateKey, input data)

hope to help you.
by ThanhLong
Tue Dec 19, 2017 5:21 am
Forum: Algorithm School
Topic: ECDSA signature
Replies: 5
Views: 5033

Re: ECDSA signature

I use ECDSA_SHA256 with sec256p-r1 domain parameter to sign, verify => Verify is OK and then verify again on https://javacardos.com/tools/ecdsa_sign_verify.html with the same private, public, (r,s) But the result is invalid. I don't know why. I use Java 3.0.5 My applet as follow : /** * */ package E...
JavaCard OS : Disclaimer