blake2b method

  1. @override
Blake2b blake2b({
  1. int hashLengthInBytes = 64,
})
override

A factory used by Blake2b.

Implementation

@override
Blake2b blake2b({int hashLengthInBytes = 64}) {
  if (hashLengthInBytes == 64) {
    return const DartBlake2b();
  }
  return DartBlake2b(
    hashLengthInBytes: hashLengthInBytes,
  );
}