Creates a Uint8List from a string to be signed
Uint8List createUint8ListFromString(String s) { var codec = Utf8Codec(allowMalformed: true); return Uint8List.fromList(codec.encode(s)); }