Files
ladybird/Libraries/LibWeb/Crypto/Crypto.idl
2024-11-10 12:50:45 +01:00

12 lines
302 B
Plaintext

#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);
[SecureContext] DOMString randomUUID();
};