sign static method

Uint8List? sign(
  1. Uint8List message,
  2. Uint8List secretKey
)

Signs the message using the secret key and returns a signed message.

Implementation

static Uint8List? sign(Uint8List message, Uint8List secretKey) {
  if (message == null) return null;

  return signLen(message, 0, message.length, secretKey);
}