mirror of
https://github.com/kou029w/websri.git
synced 2025-01-18 08:05:13 +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 "";
|
||||
|
||||
const arrayBuffer = await crypto.subtle.digest(
|
||||
supportedHashAlgorithmName[alg.toLowerCase()],
|
||||
supportedHashAlgorithmName[alg],
|
||||
data,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue