compute static method

Uint8List compute(
  1. Uint8List data
)

Computes the SHA-1 digest of data in one call.

Implementation

static Uint8List compute(Uint8List data) => (Sha1()..add(data)).finish();