Signing a message
The message is encoded as bytes and hashed as part of the ECDSA operation. The selected private key and curve produce two signature integers, conventionally named r and s. Web Crypto represents them in fixed-width IEEE P1363 form, with r followed by s, rather than the ASN.1 DER sequence used by many certificate and command-line tools.