elliptic
elliptic copied to clipboard
How to convert a DER-formatted signature back to a Signature object?
Given:
let sig = ecKey.sign(msg);
let sigDerHex = sig.toDER('hex');
Is there a way to rehydrate sigDerHex
back to a Signature
Object?
Many thanks!
Project looks dead. The Signature constructor is capable of performing the conversion, but this has not been exposed for some reason.