ChaCha20Key.fromInts constructor

ChaCha20Key.fromInts(
  1. List<int> ints
)

takes the first 8 integers and exoects them to be Uint32

Implementation

ChaCha20Key.fromInts(List<int> ints) {
  assert(ints.length >= 8);
  data = Uint32List.fromList(ints.sublist(0, 8));
}