mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48:47 +00:00
The algorithm comparison in digest() is done using a StringView to avoid complex error handling and promise rejection.
5 lines
233 B
Text
5 lines
233 B
Text
[SecureContext,Exposed=(Window,Worker), UseNewAKString]
|
|
interface SubtleCrypto {
|
|
// FIXME: Add support for AlgorithmIdentifier ("typedef (object or DOMString)")
|
|
Promise<any> digest(DOMString algorithm, BufferSource data);
|
|
};
|