A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "Crypto"

From WHATWG Wiki
Jump to: navigation, search
(Created page with '=Overview= This document describes a proposal for the window.crypto API. =Interface= [Suplemental] interface Window { readonly attribute Crypto crypto } interface Crypto { ...')
 
(Interface)
Line 5: Line 5:
 
=Interface=
 
=Interface=
  
 +
<pre>
 
[Suplemental]
 
[Suplemental]
 
interface Window {
 
interface Window {
Line 13: Line 14:
 
   void getRandomValues(in ArrayBufferView array);
 
   void getRandomValues(in ArrayBufferView array);
 
}
 
}
 +
</pre>
  
 
=Methods=
 
=Methods=
  
 
==getRandomValues==
 
==getRandomValues==

Revision as of 21:47, 14 February 2011

Overview

This document describes a proposal for the window.crypto API.

Interface

[Suplemental]
interface Window {
  readonly attribute Crypto crypto
}

interface Crypto {
  void getRandomValues(in ArrayBufferView array);
}

Methods

getRandomValues