dvKeccak256 function

Uint8List dvKeccak256(
  1. List<int> input
)

Keccak-256, which is what Ethereum uses.

Not SHA3-256: they differ in padding, produce different digests, and substituting one silently derives the wrong address from every key.

Implementation

Uint8List dvKeccak256(List<int> input) =>
    KeccakDigest(256).process(Uint8List.fromList(input));