crc checksum of byte array
static List<int> checksum(List<int> input) { final h1 = sha256(input); var h2 = sha256(h1); return h2.sublist(0, 4); }