String byteListToHexString(List<int> bytes) => bytes .map((i) => i.toRadixString(16).padLeft(2, '0')) .reduce((a, b) => (a + b));