PeculiarVentures / node-webcrypto-p11

A WebCrypto Polyfill for Node in typescript built on PKCS#11.
MIT License
44 stars 15 forks source link

Added NO-HASH option for ECDSA, for cases the data is already hashed #82

Open nirfireblocks opened 10 months ago

nirfireblocks commented 10 months ago

We ran into a use case where the data to be signed via ECDSA is already hashed, and should not be hashed again. I added the option to do with the hash algorithm "NO-HASH". This is in conjuncture with a webcrypto-core pull request