PeculiarVentures / webcrypto-core

A input validation layer for WebCrypto polyfills.
MIT License
28 stars 13 forks source link

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

Open nirfireblocks opened 7 months ago

nirfireblocks commented 7 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 node-webcrypto-p11 pull request.