Uint8List detached(Uint8List message) { Uint8List signedMsg = this.sign(message); Uint8List sig = Uint8List(signatureLength); for (int i = 0; i < sig.length; i++) sig[i] = signedMsg[i]; return sig; }