Operation | Parameters | Result |
---|---|---|
digest | None | ArrayBuffer |
const hash = await crypto.subtle.digest(
"SHA-256", // SHA-1, SHA-256, SHA-384, or SHA-512
data, // BufferSource
);
Operation | Parameters | Result |
---|---|---|
digest | None | ArrayBuffer |
const hash = await crypto.subtle.digest(
"SHA-256", // SHA-1, SHA-256, SHA-384, or SHA-512
data, // BufferSource
);