(algo, data, key, signature)
| 66 | } |
| 67 | |
| 68 | function oldVerify(algo, data, key, signature) { |
| 69 | return createVerify(algo).update(data).verify(key, signature); |
| 70 | } |
| 71 | |
| 72 | for (const signFn of [sign, oldSign]) { |
| 73 | const signature = signFn('SHA256', message, privateKey); |
nothing calls this directly
no test coverage detected
searching dependent graphs…