sign abstract method

Uint8List sign(
  1. Uint8List payload
)

Signs payload, returning at most ASTBinaryFormat.maxSignatureLength bytes.

payload covers the header, every section and the CRC-32 — so an attacker cannot edit the content, recompute the CRC, and leave a signature that still verifies.

Implementation

Uint8List sign(Uint8List payload);