summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Crypto/SubtleCrypto.idl
blob: 588d37074c2710e58d5fc122a1498e90f7ce4817 (plain)
1
2
3
4
5
[SecureContext,Exposed=(Window,Worker), UseNewAKString]
interface SubtleCrypto {
    // FIXME: Add support for AlgorithmIdentifier ("typedef (object or DOMString)")
    Promise<any> digest(DOMString algorithm, BufferSource data);
};