Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 399 Bytes

SHA.md

File metadata and controls

17 lines (13 loc) · 399 Bytes

SHA

W3 specification

Operations

Operation Parameters Result
digest None ArrayBuffer

Digest

const hash = await crypto.subtle.digest(
  "SHA-256", // SHA-1, SHA-256, SHA-384, or SHA-512
  data,      // BufferSource
);