String bytesToHex(Uint8List bytes) { return bytes .map((byte) => byte.toRadixString(16).padLeft(2, '0')) .join() .toLowerCase(); }