[SecureContext,Exposed=(Window,Worker)] interface SubtleCrypto { // FIXME: Add support for AlgorithmIdentifier ("typedef (object or DOMString)") Promise digest(DOMString algorithm, BufferSource data); };