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