(algo, data, key)
| 62 | const message = Buffer.from('Hello Node.js world!'); |
| 63 | |
| 64 | function oldSign(algo, data, key) { |
| 65 | return createSign(algo).update(data).sign(key); |
| 66 | } |
| 67 | |
| 68 | function oldVerify(algo, data, key, signature) { |
| 69 | return createVerify(algo).update(data).verify(key, signature); |
nothing calls this directly
no test coverage detected
searching dependent graphs…