String toHexString(String original) { return original.codeUnits .map((c) => c.toRadixString(16).padLeft(2, '0')) .toList() .join(''); }