mirror of
https://github.com/kou029w/websri.git
synced 2025-01-19 00:18:11 +00:00
remove redundant toLowerCase call
This commit is contained in:
parent
79ff27dbe4
commit
6ec0f55736
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export async function createIntegrityMetadata(
|
||||||
if (!supportedHashAlgorithm.includes(alg)) return "";
|
if (!supportedHashAlgorithm.includes(alg)) return "";
|
||||||
|
|
||||||
const arrayBuffer = await crypto.subtle.digest(
|
const arrayBuffer = await crypto.subtle.digest(
|
||||||
supportedHashAlgorithmName[alg.toLowerCase()],
|
supportedHashAlgorithmName[alg],
|
||||||
data,
|
data,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue