字节转hex字符
String bytesToHex(List<int> bytes) { return bytes .map((byte) => byte.toRadixString(16).padLeft(2, '0').toUpperCase()) .join(); }