mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:12:43 +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();
 | |
| };
 | 
