From b094bb6d57e17149847e9f56cf84088bb6d32f24 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 21 Mar 2024 15:38:43 -0700 Subject: [PATCH] Switch sha512 to use fastpath with wasm --- 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.