ladybird/Libraries/LibWeb/Crypto/Crypto.idl

12 lines
302 B
Text
Raw Normal View History

#import <Crypto/SubtleCrypto.idl>
// https://w3c.github.io/webcrypto/#crypto-interface
[Exposed=(Window,Worker)]
interface Crypto {
[SecureContext] readonly attribute SubtleCrypto subtle;
ArrayBufferView getRandomValues(ArrayBufferView array);
2022-03-30 15:58:02 +02:00
[SecureContext] DOMString randomUUID();
};