mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
505 B
TypeScript
14 lines
505 B
TypeScript
// 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
|
|
|
|
}
|