generate method

Uint8List generate()

Implementation

Uint8List generate() {
  final uint8list = _generateInternal();
  if (uint8list.length != 16) {
    throw Exception(
        'The length of the Uint8list returned by the custom RNG must be 16.');
  } else {
    return uint8list;
  }
}