digest method

  1. @override
List<int> digest()
override

Retrieves the hash digest.

Implementation

@override
List<int> digest() {
  if (_finished) {
    return List<int>.from(_buffer);
  }
  final List<int> data = List<int>.filled(getDigestLength, 0);
  finish(data);
  return data;
}