actually use md5 not sha256

This commit is contained in:
Rob Herley committed 2022-05-05 10:32:09 -04:00
1 parent 7bc2c5798c
commit d1cff5670b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -309,7 +309,7 @@ export async function digestForStream(
): Promise<StreamDigest> {
return new Promise((resolve, reject) => {
const crc64 = new CRC64()
const md5 = crypto.createHash('sha256')
const md5 = crypto.createHash('md5')
stream
.on('data', data => {
crc64.update(data)