actually use md5 not sha256
This commit is contained in:
1 parent
7bc2c5798c
commit
d1cff5670b
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user