actually use md5 not sha256

This commit is contained in:
Rob Herley
2022-05-05 10:32:09 -04:00
parent a3c696e88e
commit 35e5aac523
2 changed files with 2 additions and 2 deletions

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)