getSignature method

String getSignature(
  1. String privateKey
)

Each user has a keypair. Signatures, public key, and encodings are done according to the Schnorr signatures standard for the curve secp256k1 64-bytes signature of the sha256 hash of the serialized event data, which is the same as the "id" field

Implementation

String getSignature(String privateKey) {
  return _processSignature(privateKey, id);
}