Iterable<int> randomBytes(int length) { final r = Random(); return Iterable.generate(length, (i) => r.nextInt(255)); }