Converts a binary string into a hex string
static String binaryToHex(String binary) { return BigInt.parse(binary, radix: 2).toRadixString(16).toUpperCase(); }