Have you taken a look at performance of implementation in cipher pub package? cipher/digests/sha1.dart