signBuffer method

HexString signBuffer(
  1. Uint8List buffer
)

Implementation

HexString signBuffer(Uint8List buffer) {
  final signature = ed25519.sign(signingKey.privateKey, buffer);
  return HexString.fromUint8Array(signature.sublist(0, 64));
}