From 69d13c9903d4134582ce1bbd9a31cfd8a510c22d Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 21 Mar 2024 15:53:06 -0700 Subject: [PATCH] Switch sha512 to use fastpath with wasm (#165) --- lib/src/sha512.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/sha512.dart b/lib/src/sha512.dart index 557954c..97f8444 100644 --- a/lib/src/sha512.dart +++ b/lib/src/sha512.dart @@ -7,7 +7,7 @@ import 'dart:convert'; import 'digest.dart'; import 'hash.dart'; // ignore: uri_does_not_exist -import 'sha512_fastsinks.dart' if (dart.library.js) 'sha512_slowsinks.dart'; +import 'sha512_fastsinks.dart' if (dart.library.html) 'sha512_slowsinks.dart'; import 'utils.dart'; /// An implementation of the [SHA-384][rfc] hash function.