mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:55:07 +00:00
12 lines
360 B
Text
12 lines
360 B
Text
#import <Crypto/SubtleCrypto.idl>
|
|
|
|
// https://w3c.github.io/webcrypto/#crypto-interface
|
|
[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();
|
|
};
|