Newer
Older
minerva / Userland / Libraries / LibWeb / Crypto / Crypto.idl
@minerva minerva on 13 Jul 302 bytes Initial commit
#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();
};