|
@@ -124,7 +124,7 @@ this.SingleFileBrowser = this.SingleFileBrowser || (() => {
|
|
|
|
|
|
|
|
async function digestText(algo, text) {
|
|
async function digestText(algo, text) {
|
|
|
const hash = await crypto.subtle.digest(algo, new TextEncoder("utf-8").encode(text));
|
|
const hash = await crypto.subtle.digest(algo, new TextEncoder("utf-8").encode(text));
|
|
|
- return (hex(hash));
|
|
|
|
|
|
|
+ return hex(hash);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function getContentSize(content) {
|
|
function getContentSize(content) {
|