ECDSA Signer/Verifier (Web Crypto API)
Generate ECDSA keys, sign data, and verify signatures using the Web Crypto API.
Notes
Uses Web Crypto API. Key format can be JWK or PEM. Supports P-256, P-384, P-521 curves. Signatures are DER-encoded and represented in Base64. Ensure the same curve and hash algorithm are used consistently.