parseKeyString function
Implementation
List<int> parseKeyString(String s) {
if (s.length != 114) {
throw FormatException("Bad key string length");
}
final l = Uint8List(57);
for (int i = 0; i < 57; i++) {
l[i] = int.parse(s[i * 2] + s[i * 2 + 1], radix: 16);
}
return UnmodifiableUint8ListView(l);
}