signMessage static method
Implementation
static Uint8List? signMessage(Uint8List m, Uint8List sk) {
final mPointer = _bytesToPointer(m);
final skPointer = _bytesToPointer(sk);
final randPointer = _bytesToPointer(rand32());
final result = calloc<Uint8>(64);
signFunc(result, m.lengthInBytes, mPointer, randPointer, skPointer);
calloc.free(mPointer);
calloc.free(skPointer);
calloc.free(randPointer);
return result.asTypedList(64);
}