When implementing EC signing/verification in Javascript, the only options available via the WebCrypto API are:
Curves: P-256, P-384, or P-521
Hashes: SHA-1, SHA-256, SHA-384, or SHA-512
If I was not constrained by these choices, I'd choose Ed25519. Would ECDSA with P-256 and SHA-256 provide an equivalent level of security (assuming I trust the NIST curves)?
How should I reason about the WebCrypto choices available to me?