Skip to content

Commit 61dca74

Browse files
authored
Switch sha512 to use fastpath with wasm (dart-archive/crypto#165)
1 parent 00376da commit 61dca74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/crypto/lib/src/sha512.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'dart:convert';
77
import 'digest.dart';
88
import 'hash.dart';
99
// ignore: uri_does_not_exist
10-
import 'sha512_fastsinks.dart' if (dart.library.js) 'sha512_slowsinks.dart';
10+
import 'sha512_fastsinks.dart' if (dart.library.html) 'sha512_slowsinks.dart';
1111
import 'utils.dart';
1212

1313
/// An implementation of the [SHA-384][rfc] hash function.

0 commit comments

Comments
 (0)