ladybird/Userland/Libraries/LibWeb/Crypto/Crypto.idl
2022-03-30 18:47:53 +02:00

11 lines
299 B
Text

#import <Crypto/SubtleCrypto.idl>
[Exposed=(Window,Worker)]
interface Crypto {
[SecureContext] readonly attribute SubtleCrypto subtle;
// FIXME: the argument and the return value should be of type ArrayBufferView
any getRandomValues(any array);
[SecureContext] DOMString randomUUID();
};