Initial addition of webcrypto

This commit is contained in:
Lucas Dixon
2014-06-29 14:52:43 -04:00
parent 7a485a1c6c
commit 1bf6a0748e
2 changed files with 30 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
// Type definitions for WebCrypto
// Project: http://www.w3.org/TR/WebCryptoAPI/
// Definitions by: Lucas Dixon <https://github.com/iislucas/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module crypto {
// A cryptographically strong pseudo-random number generator seeded with
// truly random values. The buffer passed in is modified, and a reference to
// argument is returned for convenience.
function getRandomValues(array: ArrayBufferView) : ArrayBufferView
}